/* =============================================================================
   Portal sign-in and registration (employer, institution, department, ITI, instructor,
   counsellor, event speaker, officer) and the staff back-office sign-in.

   Loaded after candidate-auth.css, whose form controls (.js-auth-field, -control, -captcha,
   -submit ...) it reuses. This file adds the navy "stage" beside the form (_PortalHero) and
   the portal card's tabs, sections, upload and user-type switch. Colours come from theme.css;
   each user type picks its --color-portal-* accent.
   ============================================================================= */

.pa-role--employer    { --pa-role-accent: var(--color-portal-employer); }
.pa-role--institution { --pa-role-accent: var(--color-portal-institution); }
.pa-role--department  { --pa-role-accent: var(--color-portal-department); }
.pa-role--iti         { --pa-role-accent: var(--color-portal-iti); }
.pa-role--instructor  { --pa-role-accent: var(--color-portal-instructor); }
.pa-role--counsellor  { --pa-role-accent: var(--color-portal-counsellor); }
.pa-role--speaker     { --pa-role-accent: var(--color-portal-speaker); }
.pa-role--officer     { --pa-role-accent: var(--color-portal-officer); }
.pa-role--staff       { --pa-role-accent: var(--color-portal-staff); }
.pa-role--candidate   { --pa-role-accent: var(--color-portal-candidate); }

.pa-auth {
    --pa-accent: var(--pa-role-accent, var(--color-gold-light));
    /* The accent as text or an icon on a white panel: mixed toward ink until it reads. */
    --pa-accent-ink: color-mix(in srgb, var(--pa-accent) 45%, var(--color-ink));
    --pa-accent-wash: color-mix(in srgb, var(--pa-accent) 16%, #fff);
    grid-template-columns: minmax(0, 1fr) minmax(400px, 500px);
    gap: clamp(20px, 2.6vw, 36px);
    align-items: start;
    min-height: 0;
    margin: clamp(20px, 3vw, 36px) auto clamp(32px, 4vw, 56px);
}

.pa-auth--register { grid-template-columns: minmax(0, 1fr) minmax(440px, 600px); }

/* Staff sign-in has its own header/layout. Preserve that layout's geometry;
   public pages get their container from the public master instead. */
.pa-body :is(.js-auth, .pa-staff-top) {
    width: min(calc(100% - 2 * var(--page-gutter)), var(--page-max));
}
@media (max-width: 980px) {
    .pa-body .pa-auth--register { width: min(calc(100% - 32px), 640px); }
}
@media (max-width: 640px) {
    .pa-body .pa-auth--register { width: calc(100% - 24px); }
}

/* ---- The stage ---- */
.pa-stage {
    position: sticky;
    top: 20px;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 3vw, 36px);
    min-height: min(720px, calc(100vh - 40px));
    padding: clamp(28px, 3.4vw, 48px);
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--pa-accent) 34%, transparent), transparent 62%),
        radial-gradient(70% 50% at 0% 100%, rgba(31, 95, 174, .55), transparent 70%),
        linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-deep) 55%, var(--color-ink) 100%);
    color: #fff;
    box-shadow: 0 30px 60px -30px rgba(7, 27, 77, .55);
}

/* A fine dot grid that fades out toward the copy. */
.pa-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.6px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 55%);
    mask-image: linear-gradient(200deg, #000 0%, transparent 55%);
}

/* Uttar Pradesh, large and faint, behind the dashboard window. */
.pa-stage__art {
    position: absolute;
    right: -10%;
    bottom: -8%;
    z-index: -1;
    width: 78%;
    color: rgba(255, 255, 255, .055);
    pointer-events: none;
}

.pa-stage__art .icon { display: block; width: 100%; height: auto; }

.pa-stage__copy { display: grid; gap: 14px; }

.pa-stage__kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 6px;
    color: rgba(255, 255, 255, .78);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.pa-stage__kicker-mark {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--pa-accent);
    color: var(--color-ink);
    box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--pa-accent) 80%, transparent);
}

.pa-stage__kicker-mark .icon { width: 22px; height: 22px; }

.pa-stage__kicker-role {
    display: inline-block;
    margin-left: 6px;
    padding: 3px 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--radius-pill);
    color: #fff;
    letter-spacing: .08em;
}

.pa-stage__title {
    max-width: 15em;
    margin: 0;
    color: #fff;
    font-size: clamp(1.875rem, 3.1vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.14;
    text-wrap: balance;
}

.pa-stage__accent {
    display: block;
    color: var(--pa-accent);
}

.pa-stage__lead {
    max-width: 34em;
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 1rem;
    line-height: 1.6;
}

/* ---- The illustrated dashboard window ---- */
.pa-visual {
    position: relative;
    max-width: 480px;
    /* The right margin keeps the floating badge inside the stage. */
    margin: 8px 18px 24px clamp(0px, 3vw, 40px);
}

.pa-window {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 40px 70px -30px rgba(0, 8, 30, .75), 0 0 0 1px rgba(255, 255, 255, .08);
    transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
    transform-origin: 0 50%;
}

.pa-window__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-line-soft);
    background: var(--color-surface-alt);
}

.pa-window__dots { display: flex; gap: 6px; }

.pa-window__dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-line-strong);
}

.pa-window__dots i:first-child { background: var(--pa-accent); }

.pa-window__title {
    color: var(--color-muted);
    font-size: .8125rem;
    font-weight: 600;
}

.pa-window__rows { margin: 0; padding: 6px 0; list-style: none; }

.pa-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
}

.pa-row + .pa-row { border-top: 1px solid var(--color-line-soft); }

.pa-row__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pa-accent-wash);
    color: var(--pa-accent-ink);
}

.pa-row__icon .icon { width: 20px; height: 20px; }

.pa-row__text { min-width: 0; }

.pa-row__text strong,
.pa-row__text small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pa-row__text strong { color: var(--color-navy); font-size: .875rem; font-weight: 600; line-height: 1.35; }
.pa-row__text small { color: var(--color-muted); font-size: .75rem; line-height: 1.4; }

.pa-chip {
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.pa-chip--ok { background: var(--color-success-soft); color: var(--color-success); }
.pa-chip--info { background: var(--color-info-soft); color: var(--color-blue); }
.pa-chip--wait { background: var(--color-warning-soft); color: var(--color-warning); }

.pa-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--color-navy);
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 18px 36px -16px rgba(0, 8, 30, .7);
    animation: pa-float 6s ease-in-out infinite alternate;
}

.pa-float__icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--pa-accent);
    color: var(--color-ink);
}

.pa-float__icon .icon { width: 14px; height: 14px; stroke-width: 3; }

.pa-float--badge { top: -26px; right: -14px; }
.pa-float--secure { bottom: -28px; left: 28px; animation-delay: -3s; }
.pa-float--secure .pa-float__icon { background: var(--color-success-soft); color: var(--color-success); }

@keyframes pa-float {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .pa-float { animation: none; }
}

/* ---- Stage footer: benefits (sign-in) or steps (registration) ---- */
.pa-stage__label {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.pa-steps-wrap,
.pa-perks { margin-top: auto; }

.pa-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.pa-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pa-step__n {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--pa-accent);
    color: var(--color-ink);
    font-size: .8125rem;
    font-weight: 700;
}

.pa-step__text {
    color: rgba(255, 255, 255, .92);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.3;
}

.pa-perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
}

.pa-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .92);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.3;
}

.pa-perk__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--pa-accent) 22%, transparent);
    color: var(--pa-accent);
}

.pa-perk__icon .icon { width: 18px; height: 18px; }

/* ---- The form card ---- */
.pa-panel {
    padding: 0;
    justify-content: flex-start;
    overflow: visible;
}

.pa-card {
    max-width: none;
    padding: clamp(22px, 2.4vw, 32px);
    border: 1px solid var(--color-line-soft);
    border-radius: 24px;
    box-shadow: 0 24px 60px -28px rgba(28, 49, 84, .35);
}

/* A thin accent rule across the top of the card ties it to the stage. */
.pa-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 28px;
    right: 28px;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, var(--pa-accent), color-mix(in srgb, var(--pa-accent) 30%, var(--color-gold)));
}

.pa-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin: 0 0 22px;
    padding: 4px;
    border-radius: 14px;
    background: var(--color-soft);
}

.pa-tab {
    display: grid;
    place-items: center;
    min-height: 42px;
    border-radius: 10px;
    color: var(--color-muted);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}

.pa-tab:hover { color: var(--color-navy); }

.pa-tab.is-active {
    background: #fff;
    color: var(--color-navy);
    box-shadow: 0 1px 2px rgba(15, 31, 56, .08), 0 6px 14px -8px rgba(15, 31, 56, .3);
}

.pa-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.pa-card__head h2 {
    margin: 0;
    color: var(--color-navy);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.25;
}

.pa-card__head p {
    margin: 4px 0 0;
    color: var(--color-muted);
    font-size: .875rem;
    line-height: 1.5;
}

.pa-card__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--pa-accent-wash);
    color: var(--pa-accent-ink);
}

.pa-card__icon .icon { width: 24px; height: 24px; }

.pa-card .js-auth-form { gap: 16px; }
.pa-card .js-auth-row { gap: 12px; }
.pa-card .js-auth-label { font-size: .8125rem; }

/* _Icon partial inside the field's icon slot. */
.js-auth-ico > .icon { display: block; width: 100%; height: 100%; }

.pa-req { color: var(--color-danger); font-weight: 600; }

.pa-hint {
    margin-left: 4px;
    color: var(--color-muted);
    font-size: .75rem;
    font-weight: 400;
}

/* ---- Numbered form sections ---- */
.pa-section {
    display: grid;
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.pa-section + .pa-section { margin-top: 6px; }

.pa-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    color: var(--color-navy);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.pa-section__title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--color-line-soft);
}

.pa-section__n {
    display: grid;
    flex: none;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-navy);
    color: #fff;
    font-size: .75rem;
    letter-spacing: 0;
}

/* ---- File upload (department nodal letter) ---- */
.pa-upload {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 12px;
    border: 1.5px dashed var(--color-line-strong);
    border-radius: 12px;
    background: var(--color-surface-alt);
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}

.pa-upload:hover,
.pa-upload:focus-within { border-color: var(--color-gold); background: var(--color-gold-soft); }

.pa-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.pa-upload__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    color: var(--color-blue);
    box-shadow: var(--shadow-sm);
}

.pa-upload__icon .icon { width: 18px; height: 18px; }

.pa-upload__text { flex: 1; min-width: 0; }

.pa-upload__text strong,
.pa-upload__text small { display: block; overflow-wrap: anywhere; }

.pa-upload__text strong { color: var(--color-navy); font-size: .875rem; font-weight: 600; }
.pa-upload__text small { color: var(--color-muted); font-size: .75rem; }

.pa-upload__btn {
    flex: none;
    padding: 6px 14px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: #fff;
    color: var(--color-navy);
    font-size: .8125rem;
    font-weight: 600;
}

/* ---- Messages ---- */
.pa-card .js-auth-alert {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--color-info-soft);
    color: var(--color-navy);
}

.pa-card .js-auth-alert--warn { background: var(--color-warning-soft); color: var(--color-warning); }

.pa-summary.validation-summary-valid { display: none; }

.pa-summary.validation-summary-errors {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--color-danger-soft);
    font-size: .8125rem;
}

.pa-summary.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }

.pa-consent { font-size: .8125rem; line-height: 1.5; }

.pa-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--color-sky);
    color: var(--color-muted);
    font-size: .8125rem;
    line-height: 1.5;
}

.pa-note .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--color-blue); }

.pa-resend {
    margin: 14px 0 0;
    color: var(--color-muted);
    font-size: .8125rem;
    text-align: center;
}

.pa-resend button {
    padding: 0;
    border: 0;
    background: none;
    color: var(--color-blue);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.pa-resend button:hover { text-decoration: underline; }

/* ---- Sign in as a different user ---- */
.pa-switch {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--color-line-soft);
}

.pa-switch summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--color-blue);
    font-size: .8125rem;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.pa-switch summary::-webkit-details-marker { display: none; }

.pa-switch summary::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .15s;
}

.pa-switch[open] summary::after { margin-top: 3px; transform: rotate(-135deg); }

.pa-switch__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.pa-switch__list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--color-line);
    border-radius: var(--radius-pill);
    color: var(--color-navy);
    font-size: .8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .15s, background-color .15s;
}

.pa-switch__list a:hover { border-color: var(--color-gold); background: var(--color-gold-soft); }
.pa-switch__list .icon { width: 14px; height: 14px; color: var(--color-blue); }

/* ---- Staff back-office sign-in (Views/Account/Login, _AuthLayout): no site header, so the page
   carries its own brand bar and a soft sky ground. ---- */
.pa-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(60% 50% at 100% 0%, var(--color-sky-deep), transparent 70%),
        linear-gradient(180deg, var(--color-sky), #fff 60%);
    color: var(--color-text);
    font-family: var(--font-sans);
}

.pa-staff-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto;
    padding: 22px 0 0;
}

.pa-brand { display: grid; color: var(--color-navy); text-decoration: none; line-height: 1.2; }
.pa-brand strong { white-space: nowrap; font-size: 1.625rem; font-weight: 700; letter-spacing: -.01em; }
.pa-brand span { margin-top: 2px; padding-left: 2.6em; color: var(--color-blue); font-size: .8125rem; font-weight: 500; line-height: 1.3; }

.pa-staff-top__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-blue);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.pa-staff-top__link .icon { width: 16px; height: 16px; }
.pa-staff-top__link:hover { text-decoration: underline; }

.pa-auth--staff { margin-top: 20px; }

/* ---- Smaller screens ---- */
@media (max-width: 1180px) {
    .pa-auth--register { grid-template-columns: minmax(0, 1fr) minmax(420px, 520px); }
    .pa-perks { grid-template-columns: 1fr; }
}

/* One column: the form first, the stage beneath it. */
@media (max-width: 980px) {
    .pa-auth,
    .pa-auth--register { grid-template-columns: 1fr; }

    .pa-stage { position: relative; top: auto; order: 2; min-height: 0; }
    .pa-panel { order: 1; }
    .pa-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .pa-auth,
    .pa-auth--register { margin-top: 16px; }

    .pa-card { padding: 22px 16px 20px; border-radius: 20px; }
    .pa-brand strong { font-size: 1.375rem; }
    .pa-brand span { padding-left: 0; }
    .pa-card::before { left: 18px; right: 18px; }
    .pa-card .js-auth-row { grid-template-columns: 1fr; }

    .pa-stage { padding: 26px 18px 30px; border-radius: 20px; }
    .pa-visual { margin: 12px 4px 16px; }
    .pa-window { transform: none; }
    .pa-visual { margin-top: 30px; }
    .pa-float--badge { top: -34px; right: -4px; }
    .pa-float--secure { left: 12px; }
    .pa-perks { grid-template-columns: 1fr; }
    .pa-steps { grid-template-columns: 1fr 1fr; }
}

/* ---- Shared OTP page (/verify): one block per contact ---- */
.vc-channel {
    margin: 0 0 14px;
    padding: 16px;
    border: 1px solid var(--color-line-soft);
    border-radius: 16px;
    background: #fff;
}

.vc-channel.is-verified {
    border-color: color-mix(in srgb, var(--color-success) 35%, #fff);
    background: var(--color-success-soft);
}

.vc-channel--empty { background: var(--color-soft); }

.vc-channel__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vc-channel__icon {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pa-accent-wash);
    color: var(--pa-accent-ink);
}

.vc-channel.is-verified .vc-channel__icon { background: #fff; color: var(--color-success); }
.vc-channel__icon .icon { width: 20px; height: 20px; }

.vc-channel__text { flex: 1; min-width: 0; }

.vc-channel__text h3 {
    margin: 0;
    color: var(--color-navy);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.vc-channel__text p {
    margin: 2px 0 0;
    color: var(--color-muted);
    font-size: .875rem;
    overflow-wrap: anywhere;
}

.vc-badge {
    flex: none;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--color-soft);
    color: var(--color-muted);
    font-size: max(.75rem, 12px);
    font-weight: 600;
}

.vc-badge--req { background: var(--color-warning-soft); color: var(--color-warning); }
.vc-badge--ok { background: #fff; color: var(--color-success); }

.vc-status {
    margin: 12px 0 0;
    color: var(--color-muted);
    font-size: .8125rem;
    line-height: 1.5;
}

.vc-status:empty { display: none; }
.vc-status.is-error { color: var(--color-danger); font-weight: 600; }

.vc-hint {
    margin: 8px 0 0;
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--color-warning-soft);
    color: var(--color-warning);
    font-size: .8125rem;
}

.vc-hint strong { letter-spacing: .12em; }

.vc-form { margin-top: 12px; }
.vc-form .js-auth-label { display: block; margin-bottom: 6px; }

.vc-form__row {
    display: flex;
    gap: 10px;
}

.vc-form__row .js-auth-field { flex: 1; min-width: 0; }
.vc-form__row input:not(:placeholder-shown) { letter-spacing: .2em; }

.vc-verify {
    flex: none;
    min-height: 48px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: var(--color-navy);
    color: #fff;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
}

.vc-verify:hover { background: var(--color-blue); }
.vc-verify:disabled { opacity: .6; cursor: wait; }

.vc-resend { margin-top: 10px; text-align: left; }
.vc-resend span { margin-right: 4px; }
.vc-resend button:disabled { color: var(--color-muted); font-weight: 500; cursor: default; text-decoration: none; }

.vc-alert--error { background: var(--color-danger-soft); color: var(--color-danger); }

.vc-continue { margin-top: 18px; }
.vc-continue .js-auth-submit:disabled { opacity: .55; cursor: not-allowed; }

.vc-continue__note {
    margin: 8px 0 0;
    color: var(--color-muted);
    font-size: .8125rem;
    text-align: center;
}

@media (max-width: 420px) {
    .vc-channel { padding: 14px; }
    .vc-form__row { flex-direction: column; }
    .vc-verify { width: 100%; }
}
