:root {
  --coc-rg-blue: #075faf;
  --coc-rg-navy: #123d63;
  --coc-rg-cyan: #16c9df;
  --coc-rg-soft: #f4f8fb;
  --coc-rg-line: #dce5ec;
  --coc-rg-text: #24323f;
  --coc-rg-muted: #617383;
  --coc-rg-danger: #b42318;
  --coc-rg-success: #087a55;
}

.coc-rg-wrap,
.coc-rg-wrap * {
  box-sizing: border-box;
}

.coc-rg-wrap {
  max-width: 1120px;
  margin: 40px auto 64px;
  color: var(--coc-rg-text);
  font-family: inherit;
}

.coc-rg-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 36px;
  align-items: center;
  padding: 38px 42px;
  color: #fff;
  background: linear-gradient(135deg, #075faf 0%, #0874c7 62%, #0f8acb 100%);
  border-radius: 12px 12px 0 0;
}

.coc-rg-hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -165px;
  top: -180px;
  border: 58px solid rgba(255,255,255,.07);
  border-radius: 50%;
}

.coc-rg-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #8eeefa;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .12em;
}

.coc-rg-hero h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.coc-rg-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 16px;
  line-height: 1.7;
}

.coc-rg-steps {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.coc-rg-steps span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  font-weight: 700;
}

.coc-rg-steps b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #064e87;
  background: #8eeefa;
  border-radius: 50%;
}

.coc-rg-alert {
  margin: 22px 0;
  padding: 15px 18px;
  border-left: 4px solid;
  border-radius: 5px;
  line-height: 1.6;
}

.coc-rg-alert a {
  font-weight: 700;
}

.coc-rg-alert--success {
  color: #075b42;
  background: #e8f8f2;
  border-color: #15a573;
}

.coc-rg-alert--error {
  color: #8b1c14;
  background: #fff0ef;
  border-color: #d83b2d;
}

.coc-rg-alert--warning {
  color: #76520a;
  background: #fff8e6;
  border-color: #e1a51c;
}

.coc-rg-code {
  display: inline-block;
  padding: 2px 8px;
  color: #fff;
  background: var(--coc-rg-success);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.coc-rg-form {
  background: #fff;
  border: 1px solid var(--coc-rg-line);
  border-top: 0;
  box-shadow: 0 14px 38px rgba(18,61,99,.08);
}

.coc-rg-section {
  padding: 36px 42px;
  border-bottom: 1px solid var(--coc-rg-line);
}

.coc-rg-section__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.coc-rg-section__number {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  color: #fff;
  background: var(--coc-rg-blue);
  border-radius: 8px;
  font-weight: 800;
}

.coc-rg-section__head h2 {
  margin: 0 0 5px;
  color: var(--coc-rg-navy);
  font-size: 23px;
}

.coc-rg-section__head p {
  margin: 0;
  color: var(--coc-rg-muted);
}

.coc-rg-grid {
  display: grid;
  gap: 20px;
}

.coc-rg-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.coc-rg-field--span-2 {
  grid-column: span 2;
}

.coc-rg-field label,
.coc-rg-fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: #283b4d;
  font-weight: 750;
  font-size: 14px;
}

.coc-rg-field input,
.coc-rg-field select,
.coc-rg-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--coc-rg-text);
  background: #fff;
  border: 1px solid #cfd9e1;
  border-radius: 5px;
  font: inherit;
  transition: border-color .2s, box-shadow .2s;
}

.coc-rg-field textarea {
  min-height: 140px;
  resize: vertical;
}

.coc-rg-field input:focus,
.coc-rg-field select:focus,
.coc-rg-field textarea:focus {
  outline: 0;
  border-color: var(--coc-rg-blue);
  box-shadow: 0 0 0 3px rgba(7,95,175,.12);
}

.coc-rg-field small {
  display: block;
  margin-top: 6px;
  color: var(--coc-rg-muted);
}

.coc-rg-required {
  color: #d92d20;
}

.coc-rg-fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
}

.coc-rg-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.coc-rg-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 52px;
  padding: 14px;
  background: var(--coc-rg-soft);
  border: 1px solid var(--coc-rg-line);
  border-radius: 6px;
  cursor: pointer;
}

.coc-rg-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--coc-rg-blue);
}

.coc-rg-check:has(input:checked) {
  background: #eaf7fb;
  border-color: var(--coc-rg-cyan);
}

.coc-rg-upload {
  position: relative;
  margin-bottom: 18px;
}

.coc-rg-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.coc-rg-upload__label {
  display: grid;
  place-items: center;
  min-height: 190px;
  padding: 24px;
  text-align: center;
  background: #f8fbfd;
  border: 2px dashed #9bb8cb;
  border-radius: 9px;
  cursor: pointer;
  transition: .2s;
}

.coc-rg-upload__label:hover,
.coc-rg-upload.is-dragover .coc-rg-upload__label {
  background: #ecf9fc;
  border-color: var(--coc-rg-cyan);
}

.coc-rg-upload__label strong,
.coc-rg-upload__label span {
  display: block;
}

.coc-rg-upload__label > span:last-child {
  margin-top: 4px;
  color: var(--coc-rg-muted);
}

.coc-rg-upload__icon {
  display: grid !important;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 10px;
  color: #fff;
  background: var(--coc-rg-blue);
  border-radius: 50%;
  font-size: 28px;
}

.coc-rg-upload__preview {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #f5fbfd;
  border: 1px solid #b7d9e4;
  border-radius: 8px;
}

.coc-rg-upload__preview[hidden] {
  display: none;
}

.coc-rg-upload__preview img {
  width: 150px;
  height: 120px;
  object-fit: cover;
  border-radius: 5px;
}

.coc-rg-upload__preview strong,
.coc-rg-upload__preview span {
  display: block;
  overflow-wrap: anywhere;
}

.coc-rg-upload__preview span {
  margin: 4px 0 8px;
  color: var(--coc-rg-muted);
}

.coc-rg-link-button {
  padding: 0;
  color: var(--coc-rg-blue);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.coc-rg-field-error {
  margin: 8px 0 0;
  color: var(--coc-rg-danger);
  font-weight: 700;
}

.coc-rg-privacy-note {
  padding: 14px 16px;
  color: #3f5365;
  background: #f3f7fa;
  border-left: 4px solid #7a9db8;
  line-height: 1.6;
}

.coc-rg-consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 22px;
  line-height: 1.6;
  cursor: pointer;
}

.coc-rg-consent input {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 3px;
  accent-color: var(--coc-rg-blue);
}

.coc-rg-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 42px;
  background: #f3f7fa;
}

.coc-rg-actions p {
  margin: 0;
  color: var(--coc-rg-muted);
}

.coc-rg-submit {
  flex: 0 0 auto;
  min-width: 245px;
  padding: 14px 24px;
  color: #fff;
  background: var(--coc-rg-blue);
  border: 0;
  border-radius: 5px;
  box-shadow: 0 7px 18px rgba(7,95,175,.2);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.coc-rg-submit:hover {
  background: #054f92;
}

.coc-rg-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.coc-rg-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .coc-rg-hero {
    grid-template-columns: 1fr;
  }

  .coc-rg-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .coc-rg-steps span {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .coc-rg-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .coc-rg-wrap {
    margin: 24px auto 42px;
  }

  .coc-rg-hero,
  .coc-rg-section,
  .coc-rg-actions {
    padding-left: 20px;
    padding-right: 20px;
  }

  .coc-rg-hero {
    border-radius: 0;
  }

  .coc-rg-steps {
    grid-template-columns: 1fr;
  }

  .coc-rg-steps span {
    justify-content: flex-start;
    text-align: left;
  }

  .coc-rg-grid--3,
  .coc-rg-check-grid {
    grid-template-columns: 1fr;
  }

  .coc-rg-field--span-2 {
    grid-column: auto;
  }

  .coc-rg-section__head {
    gap: 12px;
  }

  .coc-rg-section__number {
    flex-basis: 42px;
    height: 42px;
  }

  .coc-rg-upload__preview {
    grid-template-columns: 1fr;
  }

  .coc-rg-upload__preview img {
    width: 100%;
    height: 220px;
  }

  .coc-rg-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .coc-rg-submit {
    width: 100%;
    min-width: 0;
  }
}
