.ccr-registration-checker {
  --ccr-navy: #103059;
  --ccr-red: #e52329;
  --ccr-cream: #f3f7fb;
  --ccr-paper: #ffffff;
  --ccr-copy: rgba(16, 48, 89, .72);
  --ccr-line: rgba(16, 48, 89, .16);
  --ccr-green: #137a40;
  --ccr-green-bg: rgba(19, 122, 64, .10);
  --ccr-red-bg: rgba(229, 35, 41, .08);
  width: 100%;
  padding: clamp(150px, 14vw, 190px) 20px clamp(56px, 8vw, 96px);
  color: var(--ccr-navy);
  background: var(--ccr-paper);
  font-family: Inter, sans-serif;
}

.ccr-registration-checker,
.ccr-registration-checker * {
  box-sizing: border-box;
}

.ccr-checker__intro {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.ccr-checker__eyebrow {
  margin: 0 0 12px;
  color: var(--ccr-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ccr-checker__title {
  margin: 0;
  color: var(--ccr-navy);
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.ccr-checker__lead {
  max-width: 570px;
  margin: 20px auto 0;
  color: var(--ccr-copy);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
}

.ccr-checker__panel {
  width: min(100%, 610px);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 34px);
  background: var(--ccr-paper);
  border: 1px solid var(--ccr-line);
  border-radius: 16px;
}

.ccr-checker__label {
  display: block;
  margin-bottom: 9px;
  color: var(--ccr-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ccr-checker__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.ccr-checker__email {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 15px;
  color: var(--ccr-navy);
  background: var(--ccr-cream);
  border: 1px solid var(--ccr-line);
  border-radius: 9px;
  outline: none;
  font: inherit;
  font-size: 16px;
  transition: border-color .2s ease;
}

.ccr-checker__email:focus {
  border-color: var(--ccr-navy);
  outline: 3px solid rgba(16, 48, 89, .16);
  outline-offset: 1px;
}

.ccr-checker__submit,
.ccr-checker__reset {
  min-height: 54px;
  border-radius: 9px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.ccr-checker__submit {
  min-width: 142px;
  padding: 0 22px;
  color: #fff;
  background: var(--ccr-red);
  border: 0;
}

.ccr-checker__submit:hover,
.ccr-checker__submit:focus-visible {
  transform: translateY(-1px);
}

.ccr-checker__submit:disabled {
  cursor: wait;
  opacity: .76;
  transform: none;
}

.ccr-checker__spinner {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ccr-checker-spin .75s linear infinite;
}

.ccr-registration-checker.is-loading .ccr-checker__spinner {
  display: inline-block;
}

.ccr-checker__helper {
  margin: 12px 0 0;
  color: var(--ccr-copy);
  font-size: 12px;
  line-height: 1.5;
}

.ccr-checker__trap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.ccr-checker__message {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ccr-line);
  outline: none;
}

.ccr-checker__message[hidden] {
  display: none;
}

.ccr-checker__message.is-error {
  color: var(--ccr-red);
  font-size: 13px;
  font-weight: 750;
}

.ccr-checker__status-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border-radius: 11px;
}

.ccr-checker__message.is-found .ccr-checker__status-head {
  background: var(--ccr-green-bg);
}

.ccr-checker__message.is-missing .ccr-checker__status-head {
  background: var(--ccr-red-bg);
}

.ccr-checker__status-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 900;
}

.is-found .ccr-checker__status-icon {
  background: var(--ccr-green);
}

.is-missing .ccr-checker__status-icon {
  background: var(--ccr-red);
}

.ccr-checker__status-copy strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ccr-navy);
  font-size: 18px;
}

.ccr-checker__status-copy p {
  margin: 0;
  color: var(--ccr-copy);
  font-size: 14px;
  line-height: 1.55;
}

.ccr-checker__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.ccr-checker__detail {
  padding: 13px 0;
  border-bottom: 1px solid var(--ccr-line);
}

.ccr-checker__detail:nth-child(odd) {
  padding-right: 18px;
}

.ccr-checker__detail span {
  display: block;
  margin-bottom: 5px;
  color: var(--ccr-copy);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ccr-checker__detail strong {
  color: var(--ccr-navy);
  font-size: 14px;
}

.ccr-checker__detail .is-confirmed {
  color: var(--ccr-green);
}

.ccr-checker__reset {
  width: 100%;
  margin-top: 19px;
  color: var(--ccr-navy);
  background: transparent;
  border: 1px solid var(--ccr-line);
}

.ccr-checker__reset:hover,
.ccr-checker__reset:focus-visible {
  border-color: var(--ccr-navy);
}

@keyframes ccr-checker-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 620px) {
  .ccr-registration-checker {
    padding-top: 128px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .ccr-checker__row,
  .ccr-checker__details {
    grid-template-columns: 1fr;
  }

  .ccr-checker__submit {
    width: 100%;
  }

  .ccr-checker__detail:nth-child(odd) {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccr-checker__email,
  .ccr-checker__submit,
  .ccr-checker__reset {
    transition: none;
  }

  .ccr-checker__spinner {
    animation-duration: 1.5s;
  }
}

