.auth-section {
  padding: 40px 0 76px;
  background: #f8f7f5;
}

.auth-section--webview {
  min-height: 100dvh;
}

.auth-shell {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

.auth-shell--narrow {
  max-width: 640px;
}

.auth-shell--wide {
  max-width: 1120px;
}

.auth-shell--code {
  max-width: 920px;
}

.auth-inline-header {
  margin-bottom: 18px;
  text-align: center;
}

.auth-inline-header h2,
.section-header-short h2 {
  margin: 0 0 8px;
  color: #192338;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.08;
}

.auth-inline-header p,
.section-header-short p {
  margin: 0;
  color: #66748a;
  font-size: 16px;
  line-height: 1.6;
}

.auth-card {
  border-radius: 34px;
  overflow: hidden;
  box-shadow:
    0 18px 50px rgba(21, 31, 49, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.auth-card--form {
  padding: 0;
}

.auth-card__header {
  padding: 28px 36px 16px;
  text-align: center;
}

.auth-card__body {
  padding: 18px 36px 28px;
}

.auth-card__footer {
  padding: 0 36px 28px;
}

.auth-card--code .auth-card__header {
  padding: 24px 36px 14px;
}

.auth-card--code .auth-card__body {
  padding-top: 14px;
}

.auth-eyebrow {
  margin: 0 0 10px;
  color: #7c9b52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.auth-title {
  margin: 0;
  color: #192338;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.04;
}

.auth-title-accent {
  margin: 10px 0 0;
  color: #7c9b52;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.auth-lead {
  margin: 12px auto 0;
  max-width: 500px;
  color: #66748a;
  font-size: 15px;
  line-height: 1.55;
}

.auth-card--code .auth-lead {
  max-width: none;
  line-height: 1.42;
}

.auth-highlight-card {
  max-width: 560px;
  margin: 14px auto 0;
  padding: 12px 18px 12px 22px;
  border: 1px solid rgba(124, 155, 82, 0.12);
  border-left: 5px solid #7c9b52;
  border-radius: 24px;
  background: #f2f6ea;
  color: #5b6a40;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}

.auth-form {
  width: 100%;
  margin: 0;
}

.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label,
.verification-label {
  display: block;
  margin-bottom: 12px;
  color: #192338;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  min-height: 60px;
  padding: 17px 20px;
  border: 1px solid rgba(25, 35, 56, 0.12);
  border-radius: 22px;
  font-size: 16px;
  line-height: 1.4;
}

.auth-form textarea {
  min-height: 120px;
  resize: vertical;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: rgba(255, 176, 0, 0.58);
  box-shadow: 0 0 0 6px rgba(255, 176, 0, 0.1);
  background: #ffffff;
}

.auth-field-errors,
.text-danger {
  margin-top: 8px;
  color: #b23838;
  font-size: 13px;
  line-height: 1.5;
}

.auth-help-text {
  margin-top: 8px;
  color: #6c7a90;
  font-size: 13px;
  line-height: 1.5;
}

.auth-inline-helper {
  margin-top: 8px;
  color: #6c7a90;
  font-size: 12px;
  line-height: 1.45;
}

.auth-submit-row {
  margin-top: 24px;
}

.auth-form button[type="submit"],
.auth-submit,
.btn.btn-primary.w-100 {
  min-height: 60px;
  padding: 16px 26px;
  border: 0;
  border-radius: 22px;
  background: #ffb000;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

.auth-form button[type="submit"]:focus,
.auth-submit:focus,
.btn.btn-primary.w-100:focus,
.auth-form button[type="submit"]:focus-visible,
.auth-submit:focus-visible,
.btn.btn-primary.w-100:focus-visible {
  outline: none;
  border: 0;
  box-shadow: none;
}

.auth-form button[type="submit"]:hover,
.auth-submit:hover,
.btn.btn-primary.w-100:hover {
  background: #f2a500;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(255, 176, 0, 0.22);
}

.auth-form button[type="submit"]:disabled,
.auth-submit:disabled,
.btn.btn-primary.w-100:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.auth-form button[type="submit"].is-submitting,
.auth-submit.is-submitting,
.btn.btn-primary.w-100.is-submitting {
  position: relative;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.auth-form button[type="submit"].is-submitting::before,
.auth-submit.is-submitting::before,
.btn.btn-primary.w-100.is-submitting::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  flex: 0 0 18px;
  animation: auth-button-spin 0.7s linear infinite;
}

.hidden {
  display: none !important;
}

.auth-message-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-message {
  margin-bottom: 18px;
}

.auth-message ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-message li {
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.auth-message strong {
  font-weight: 700;
}

.alert-error {
  background: #fff3f1;
  border-color: rgba(178, 56, 56, 0.18);
  color: #9f2f2f;
}

.alert-success {
  background: #f3f8eb;
  border-color: rgba(124, 155, 82, 0.2);
  color: #546b32;
}

.alert-warning {
  background: #fff6e6;
  border-color: rgba(255, 176, 0, 0.22);
  color: #9b6a00;
}

.alert-info {
  background: #f3f6eb;
  border-color: rgba(124, 155, 82, 0.08);
  color: #5b6a40;
  box-shadow: inset 4px 0 0 #7c9b52;
}

.auth-phone-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.auth-phone-link:hover,
.auth-phone-link:focus {
  color: inherit;
}

@keyframes auth-button-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-form .auth-secondary-link {
  display: inline;
  color: #7c9b52;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}

.auth-form .auth-secondary-link:hover,
.auth-form .auth-secondary-link:focus {
  color: #667e41;
}

.auth-form .auth-secondary-link.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.auth-form .auth-status-feedback {
  display: none;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.55;
}

.auth-form .auth-status-feedback.is-visible {
  display: block;
}

.auth-form .auth-status-feedback--success {
  color: #546b32;
}

.auth-form .auth-status-feedback--error {
  color: #b23838;
}

.verification-wrapper {
  margin-bottom: 0;
}

.verification-input {
  max-width: 210px;
  min-height: 68px;
  margin: 0 auto 0;
  padding: 18px 22px;
  border: 2px solid rgba(255, 176, 0, 0.75) !important;
  border-radius: 22px !important;
  background: #fff9eb !important;
  color: #192338;
  font-family: "Courier New", monospace;
  font-size: 32px !important;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.42em;
}

.verification-input:focus {
  background: #ffffff !important;
}

.auth-code-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: start;
}

.auth-card--code .auth-code-layout {
  grid-template-columns: minmax(0, 1.46fr) minmax(320px, 1fr);
  gap: 22px;
}

.auth-main-column {
  min-width: 0;
}

.auth-side-column {
  min-width: 0;
}

.auth-card__body,
.auth-main-column {
  position: relative;
}

.auth-card__body.is-submitting-scope::after,
.auth-main-column.is-submitting-scope::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(1.5px);
  pointer-events: none;
}

.auth-side-card,
.auth-support-card {
  padding: 22px 22px 24px;
  border: 1px solid rgba(22, 32, 51, 0.08);
  border-radius: 22px;
  background: #fbfbf7;
}

.auth-side-card + .auth-support-card {
  margin-top: 16px;
}

.auth-card--code .auth-side-card {
  padding: 18px 18px 20px;
}

.auth-card--code .auth-support-card--plain {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.auth-side-eyebrow {
  margin: 0 0 12px;
  color: #7c9b52;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-side-title {
  margin: 0 0 14px;
  color: #192338;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.auth-card--code .auth-side-title {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.32;
}

.auth-countdown {
  margin: 0;
  color: #66748a;
  font-size: 15px;
  line-height: 1.6;
}

.auth-link-list {
  display: grid;
  gap: 10px;
}

.auth-link-list a,
.auth-support-card a,
.auth-card__footer a,
.text-warning {
  color: #ffb000 !important;
  font-weight: 600;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.auth-link-list a:hover,
.auth-inline-links a:hover,
.auth-support-card a:hover,
.auth-card__footer a:hover,
.text-warning:hover {
  color: #eb9d00 !important;
}

.auth-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.auth-link-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(124, 155, 82, 0.45);
  flex: 0 0 7px;
}

.auth-inline-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.auth-support-card,
.auth-support-note {
  color: #66748a;
  font-size: 14px;
  line-height: 1.8;
}

.auth-support-email {
  display: inline-block;
  white-space: nowrap;
}

.auth-card__footer .auth-inline-links {
  align-items: center;
  margin-top: 0;
}

.auth-card__footer .auth-support-note {
  margin: 14px auto 0;
  max-width: 540px;
  text-align: center;
}

.auth-inline-links a {
  color: #7c9b52;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-inline-links a:hover {
  color: #ffb000;
}

.auth-status-cluster {
  margin-top: 16px;
  text-align: center;
}

.auth-card--code .auth-status-cluster {
  margin-top: 12px;
}

.auth-compact-note {
  margin-top: 16px;
  color: #66748a;
  font-size: 14px;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.text-secondary,
.auth-muted {
  color: #66748a !important;
}

@media (max-width: 1199.98px) {
  .auth-title {
    font-size: 32px;
  }

  .auth-code-layout {
    grid-template-columns: 1fr 320px;
  }
}

@media (max-width: 991.98px) {
  .auth-section {
    padding: 30px 0 60px;
  }

  .auth-card__header {
    padding: 28px 28px 20px;
  }

  .auth-card__body {
    padding: 24px 28px;
  }

  .auth-card__footer {
    padding: 0 28px 24px;
  }

  .auth-title,
  .auth-inline-header h2,
  .section-header-short h2 {
    font-size: 28px;
  }

  .auth-lead {
    font-size: 15px;
  }

  .auth-code-layout,
  .auth-card--code .auth-code-layout {
    grid-template-columns: 1fr;
  }

  .auth-card--code .auth-lead {
    max-width: 640px;
  }

  .auth-shell--code {
    max-width: 760px;
  }
}

@media (max-width: 767.98px) {
  .auth-section {
    padding: 22px 0 44px;
  }

  .auth-card {
    border-radius: 26px;
  }

  .auth-card__header {
    padding: 24px 20px 16px;
  }

  .auth-card__body {
    padding: 20px;
  }

  .auth-card__footer {
    padding: 0 20px 20px;
  }

  .auth-title,
  .auth-inline-header h2,
  .section-header-short h2 {
    font-size: 24px;
  }

  .auth-lead,
  .auth-inline-header p,
  .section-header-short p {
    font-size: 15px;
  }

  .auth-title-accent {
    font-size: 17px;
  }

  .auth-form input,
  .auth-form select,
  .auth-form textarea {
    min-height: 52px;
    padding: 14px 16px;
    font-size: 15px;
  }

  .verification-input {
    max-width: 100%;
    width: 170px;
    min-height: 66px;
    font-size: 28px !important;
    letter-spacing: 0.34em;
  }

  .auth-form button[type="submit"],
  .auth-submit,
  .btn.btn-primary.w-100 {
    min-height: 54px;
    font-size: 18px;
  }

  .auth-side-card,
  .auth-support-card {
    padding: 18px 18px 20px;
    border-radius: 18px;
  }
}

.verification-delivery-page {
  --delivery-accent: #7c9b52;
  --delivery-accent-soft: rgba(124, 155, 82, 0.08);
  --delivery-accent-border: rgba(124, 155, 82, 0.18);
  --delivery-icon: #8b9481;
  --delivery-title: #192338;
  --delivery-muted: #66748a;
  padding: 34px 0 68px;
}

.verification-delivery-page .delivery-popover {
  background: #ffffff;
  border: 1px solid rgba(22, 32, 51, 0.1);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(21, 31, 49, 0.06);
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
}

.verification-delivery-page .delivery-popover__header {
  padding: 26px 30px 18px;
  text-align: center;
}

.verification-delivery-page .delivery-popover__eyebrow {
  margin: 0 0 8px;
  color: var(--delivery-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.verification-delivery-page .delivery-popover__title {
  margin: 0 0 10px;
  color: var(--delivery-title);
  font-size: 30px;
  line-height: 1.08;
  font-weight: 600;
}

.verification-delivery-page .delivery-popover__text {
  margin: 0 auto;
  max-width: 640px;
  color: var(--delivery-muted);
  font-size: 15px;
  line-height: 1.5;
}

.verification-delivery-page .delivery-popover__text strong {
  color: var(--delivery-accent);
  font-weight: 600;
  white-space: nowrap;
}

.verification-delivery-page .delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(22, 32, 51, 0.08);
  background: #ffffff;
}

.verification-delivery-page .delivery-grid[data-submitting="pending"] {
  pointer-events: none;
}

.verification-delivery-page .delivery-tile {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 172px;
  margin: 0;
  padding: 22px 22px 20px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.verification-delivery-page .delivery-tile + .delivery-tile {
  border-left: 1px solid rgba(22, 32, 51, 0.08);
}

.verification-delivery-page .delivery-tile:nth-child(n + 3) {
  border-top: 1px solid rgba(22, 32, 51, 0.08);
}

.verification-delivery-page .delivery-tile:hover,
.verification-delivery-page .delivery-tile:focus-visible {
  background: var(--delivery-accent-soft);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px var(--delivery-accent-border);
  outline: none;
}

.verification-delivery-page .delivery-tile:active {
  background: rgba(124, 155, 82, 0.12);
}

.verification-delivery-page .delivery-grid[data-submitting="pending"] .delivery-tile {
  cursor: default;
}

.verification-delivery-page .delivery-grid[data-submitting="pending"] .delivery-tile:not(.is-submitting) {
  opacity: 0.62;
}

.verification-delivery-page .delivery-tile.is-submitting {
  background: rgba(124, 155, 82, 0.1);
  box-shadow: inset 0 0 0 1px var(--delivery-accent-border);
}

.verification-delivery-page .delivery-tile.is-submitting::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(124, 155, 82, 0.24);
  border-top-color: var(--delivery-accent);
  border-radius: 50%;
  animation: delivery-tile-spin 0.7s linear infinite;
}

.verification-delivery-page .delivery-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(25, 35, 56, 0.16);
  border-radius: 50%;
  color: var(--delivery-icon);
  flex: 0 0 54px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.verification-delivery-page .delivery-tile__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verification-delivery-page .delivery-tile:hover .delivery-tile__icon,
.verification-delivery-page .delivery-tile:focus-visible .delivery-tile__icon {
  border-color: var(--delivery-accent-border);
  color: var(--delivery-accent);
  background: rgba(124, 155, 82, 0.05);
}

.verification-delivery-page .delivery-tile__title {
  color: #192338;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 600;
}

.verification-delivery-page .delivery-tile__contact {
  color: var(--delivery-accent);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.verification-delivery-page .delivery-tile__description {
  max-width: 300px;
  margin: 0 auto;
  color: var(--delivery-muted);
  font-size: 13px;
  line-height: 1.45;
}

.verification-delivery-page .delivery-popover__footer {
  padding: 14px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--delivery-muted);
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid rgba(22, 32, 51, 0.08);
  background: #fbfbf7;
}

.verification-delivery-page .delivery-popover__footer a {
  color: #ffb000;
  font-weight: 600;
  text-decoration: none;
}

.verification-delivery-page .delivery-popover__footer a:hover {
  color: #eb9d00;
}

@keyframes delivery-tile-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .verification-delivery-page {
    padding: 28px 0 56px;
  }

  .verification-delivery-page .delivery-popover__header {
    padding: 24px 24px 16px;
  }

  .verification-delivery-page .delivery-popover__title {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  .verification-delivery-page {
    padding: 22px 0 44px;
  }

  .verification-delivery-page .delivery-popover {
    border-radius: 24px;
  }

  .verification-delivery-page .delivery-grid {
    grid-template-columns: 1fr;
  }

  .verification-delivery-page .delivery-tile {
    min-height: 0;
    padding: 18px 18px;
  }

  .verification-delivery-page .delivery-tile + .delivery-tile {
    border-top: 1px solid rgba(22, 32, 51, 0.08);
    border-left: 0;
  }

  .verification-delivery-page .delivery-tile:nth-child(n + 3) {
    border-top: 1px solid rgba(22, 32, 51, 0.08);
  }

  .verification-delivery-page .delivery-popover__header {
    padding: 22px 18px 14px;
  }

  .verification-delivery-page .delivery-popover__title {
    font-size: 24px;
  }

  .verification-delivery-page .delivery-popover__text {
    font-size: 14px;
  }

  .verification-delivery-page .delivery-popover__footer {
    padding: 14px 18px 18px;
    flex-direction: column;
    gap: 2px;
  }
}
