/* Ecocys Agent login — aligned with POS auth layout */

.agent-auth-page {
    --brand: #004CC0;
    --brand-hover: #003DA3;
    --brand-deep: #002B70;
    --brand-soft: #EAF2FF;
    --surface: #FFFFFF;
    --surface-alt: #F8FAFC;
    --ink: #111827;
    --muted: #64748B;
    --line: #E2E8F0;
    --radius: 12px;
    --input-h: 56px;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: var(--surface);
    font-family: "Inter", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.agent-auth-shell {
    display: flex;
    width: 100%;
    min-height: 100dvh;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.agent-auth-stage {
    flex: 0 0 54%;
    max-width: 54%;
    width: 54%;
    background: linear-gradient(180deg, var(--brand-soft) 0%, var(--surface-alt) 42%, var(--surface) 100%);
    color: var(--ink);
    overflow: hidden;
    border-right: 1px solid var(--line);
}

.agent-auth-showcase {
    padding: 0;
}

.agent-auth-showcase-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    margin-bottom: 1.35rem;
}
.agent-auth-showcase-logo-text { text-transform: lowercase; color: var(--brand); }
.agent-auth-showcase-logo-divider { color: var(--line); font-weight: 400; }
.agent-auth-showcase-logo-product {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--brand-deep);
}
.agent-auth-showcase-logo-img { width: 32px; height: 32px; object-fit: contain; }

.agent-auth-showcase-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}
.agent-auth-showcase-title-line { display: block; }
.agent-auth-showcase-title-line--deep { color: var(--brand-deep); }
.agent-auth-showcase-title-line--brand { color: var(--brand); }

.agent-auth-showcase-sub {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
    font-weight: 500;
}

.agent-auth-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
    border-top: 1px solid var(--line);
}
.agent-auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    min-width: 0;
}
.agent-auth-benefit-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.85rem;
    font-weight: 700;
}
.agent-auth-benefit strong {
    display: block;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--brand-deep);
    line-height: 1.3;
    margin-bottom: 0.1rem;
}
.agent-auth-benefit span:last-child {
    display: block;
    font-size: 0.6875rem;
    color: var(--muted);
    line-height: 1.35;
}

.agent-auth-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--surface);
}
.agent-auth-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    min-height: 56px;
}

.agent-auth-top .auth-atelier-top-spacer {
    flex: 1;
    min-width: 0;
}

.agent-auth-top .auth-header-notice-host {
    flex: 0 1 auto;
    max-width: min(28rem, 52vw);
}

@media (max-width: 720px) {
    .agent-auth-top .auth-header-notice-host {
        flex: 1 1 100%;
        max-width: 100%;
        order: 4;
    }
}
.agent-auth-top-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
}
.agent-auth-top-mark-img { width: 30px; height: 30px; }
.agent-auth-top-mark strong {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--brand-deep);
}

.agent-auth-body {
    flex: 1;
}

.agent-auth-page .auth-sheet-panel--agent {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 1.15rem;
}

.agent-auth-page #agentLoginHost.auth-swap-host {
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
}

.agent-auth-page .auth-sheet-panel--agent .auth-sheet-head {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
    text-align: left;
}
.agent-auth-page .auth-sheet-panel--agent .auth-sheet-eyebrow {
    color: var(--brand);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}
.agent-auth-page .auth-sheet-panel--agent .auth-sheet-title {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--ink);
    letter-spacing: 0;
    word-spacing: 0.08em;
    line-height: 1.1;
    margin: 0;
}
.agent-auth-page .auth-sheet-lede {
    color: var(--muted);
    font-size: 0.9375rem;
    margin: 0.5rem 0 0;
    font-weight: 400;
}

.agent-auth-page .auth-sheet-form {
    gap: 1.15rem;
}
.agent-auth-page .auth-sheet-form-stack {
    gap: 1rem;
}
.agent-auth-page .auth-sheet-form-stack > .text-danger:empty,
.agent-auth-page .auth-sheet-form-stack > .field-validation-valid {
    display: none;
}
.agent-auth-page .auth-float-field { margin-bottom: 0; }
.agent-auth-page .auth-float-control {
    min-height: var(--input-h);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.agent-auth-page .auth-float-field.is-active .auth-float-control,
.agent-auth-page .auth-float-field.is-filled .auth-float-control,
.agent-auth-page .auth-float-field:focus-within .auth-float-control {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 76, 192, 0.1);
}
.agent-auth-page .auth-float-control input {
    font-size: 1rem;
    font-weight: 500;
}

.agent-auth-links {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.25rem;
    font-size: 0.8125rem;
}
.agent-auth-links a { color: var(--brand); font-weight: 500; text-decoration: none; }
.agent-auth-links a:hover { text-decoration: underline; }

.agent-auth-page .auth-cta {
    min-height: 54px;
    margin-top: 0.25rem;
    width: 100%;
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--brand) !important;
    color: #fff !important;
    border: 1px solid var(--brand) !important;
    border-radius: var(--radius);
    box-shadow: 0 8px 20px rgba(0, 76, 192, 0.22);
}
.agent-auth-page .auth-cta:hover:not(:disabled) {
    background: var(--brand-hover) !important;
    color: #fff !important;
    border-color: var(--brand-hover) !important;
    transform: translateY(-1px);
}

.agent-auth-register {
    margin: 1.25rem 0 0;
    font-size: 0.875rem;
    color: var(--muted);
    text-align: center;
}
.agent-auth-register a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
}
.agent-auth-register a:hover { text-decoration: underline; }

.agent-auth-page .agent-auth-form-panel {
    opacity: 1;
    transform: none;
    width: 100%;
}

.agent-auth-register-panel {
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
}

.agent-auth-page .auth-sheet-panel--agent-register {
    width: 100%;
    max-width: none;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ============================================================
   Agent REGISTRATION ONLY — stable split shell (login unchanged)
   ============================================================ */

.agent-auth-page.auth-page-agent-register .agent-auth-shell {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.agent-auth-page.auth-page-agent-register .agent-auth-stage {
    flex: 0 0 54%;
    max-width: 54%;
    width: 54%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: relative;
}

.agent-auth-page.auth-page-agent-register .agent-auth-showcase {
    min-height: 100vh;
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
}

.agent-auth-page.auth-page-agent-register .agent-auth-showcase-visual {
    flex: 1 1 auto;
    min-height: 280px;
    height: auto;
    max-height: none;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0 0.5rem;
}

.agent-auth-page.auth-page-agent-register .agent-auth-showcase-image {
    width: 100%;
    height: auto;
    max-height: min(52vh, 480px);
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    box-shadow:
        0 2px 4px rgba(0, 43, 112, 0.03),
        0 16px 40px rgba(0, 43, 112, 0.11);
    border: 1px solid rgba(0, 76, 192, 0.07);
}

.agent-auth-page.auth-page-agent-register .agent-auth-main {
    flex: 1 1 46%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.agent-auth-page.auth-page-agent-register .agent-auth-body {
    flex: 1 1 auto;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.agent-auth-page.auth-page-agent-register .agent-auth-register-workspace {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    flex: 0 0 auto;
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.agent-auth-page.auth-page-agent-register .agent-auth-register-panel {
    max-width: none;
    width: 100%;
}

.agent-auth-page.auth-page-agent-register .auth-sheet-panel--agent-register.auth-sheet-panel--register {
    flex: 0 0 auto;
    gap: 0;
}

.agent-auth-page.auth-page-agent-register .auth-sheet-panel--agent-register .auth-sheet-form.agent-register-form {
    flex: 0 0 auto;
    gap: 0;
    margin-top: 0;
}

.agent-auth-page.auth-page-agent-register .agent-register-header {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 0;
    text-align: left;
}

.agent-auth-page.auth-page-agent-register .agent-register-viewport {
    display: block;
    flex: 0 0 auto;
    min-height: 0;
}

.agent-auth-page.auth-page-agent-register .agent-register-form-body {
    display: block;
    flex: none;
    min-height: 0;
}

.agent-auth-page.auth-page-agent-register .agent-register-action-area {
    flex: none;
    margin-top: 2rem;
    padding-top: 0;
}

.agent-auth-page.auth-page-agent-register .agent-register-field {
    margin-bottom: 0;
}

.agent-auth-page.auth-page-agent-register .auth-progress-line--agent {
    margin: 1.75rem 0 2.25rem;
}

.agent-auth-page.auth-page-agent-register .auth-terms-accept {
    margin: 0 0 1.5rem;
}

.agent-auth-page.auth-page-agent-register .auth-terms-check {
    gap: 0.5rem;
}

.agent-auth-page.auth-page-agent-register .auth-cta {
    min-height: 50px;
    margin-top: 0;
}

.agent-auth-page.auth-page-agent-register .agent-register-field--email.auth-reveal {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    margin: 0;
    transition: opacity 0.2s ease, max-height 0.25s ease;
}

.agent-auth-page.auth-page-agent-register .agent-register-field--email.auth-reveal.is-visible {
    max-height: 20rem;
    opacity: 1;
    pointer-events: auto;
    margin-bottom: 0;
}

.agent-auth-page.auth-page-agent-register .auth-field-meta--fixed {
    min-height: 0;
}

.agent-auth-page.auth-page-agent-register .auth-msg-slot {
    min-height: 0;
    display: block;
}

.agent-auth-page.auth-page-agent-register .auth-msg-slot:not(:empty) {
    margin-top: 0.5rem;
}

.agent-auth-page.auth-page-agent-register .auth-reg-otp-meta {
    margin-top: 0.4rem;
    color: #0f172a;
}

.agent-auth-page.auth-page-agent-register .agent-register-field--email.auth-reveal.is-visible {
    margin-top: 1.35rem;
    padding-top: 0.25rem;
}

.agent-auth-page.auth-page-agent-register .agent-auth-alert {
    margin: 0;
    padding: 0.7rem 0.875rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.45;
}

.agent-auth-page.auth-page-agent-register .agent-auth-alert.auth-alert--success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #047857;
}

.agent-auth-page.auth-page-agent-register .agent-auth-alert.auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.agent-auth-page.auth-page-agent-register .auth-otp-reserve {
    position: relative;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    transition: max-height 0.2s ease, margin 0.2s ease;
}

.agent-auth-page.auth-page-agent-register .auth-otp-reserve:has(.auth-otp-slot.is-open) {
    max-height: 18rem;
    margin-top: 0.5rem;
    overflow: visible;
}

.agent-auth-page.auth-page-agent-register .auth-otp-slot {
    height: auto !important;
    max-height: none !important;
    overflow: visible;
    opacity: 1;
    margin: 0 !important;
    padding: 0 !important;
    transition: none;
}

.agent-auth-page.auth-page-agent-register .auth-otp-slot:not(.is-open) .auth-otp-stack {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.agent-auth-page.auth-page-agent-register .auth-otp-slot.is-open .auth-otp-stack {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
}

.agent-auth-page.auth-page-agent-register .auth-duo-nav--stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-auth-page.auth-page-agent-register .agent-register-back {
    align-self: flex-start;
    min-height: auto;
    padding: 0.35rem 0;
    border: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.agent-auth-page.auth-page-agent-register .agent-register-back:hover {
    color: var(--brand) !important;
    border: 0;
    background: transparent !important;
}

.agent-auth-page.auth-page-agent-register .agent-kyc-upload-btn:hover {
    color: #fff !important;
}

.agent-auth-page.auth-page-agent-register .agent-kyc-upload-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.65rem 0.85rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--surface-alt);
    position: relative;
}

.agent-auth-page.auth-page-agent-register .agent-kyc-upload-icon {
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.15rem;
}

.agent-auth-page.auth-page-agent-register .agent-kyc-upload-copy strong {
    display: block;
    font-size: 0.875rem;
    color: var(--ink);
}

.agent-auth-page.auth-page-agent-register .agent-kyc-upload-copy span {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.15rem;
}

.agent-auth-page.auth-page-agent-register .agent-kyc-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.agent-auth-page.auth-page-agent-register .agent-kyc-upload-btn {
    grid-column: 2;
    width: fit-content;
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    cursor: pointer;
}

.agent-auth-page.auth-page-agent-register .agent-kyc-file-name {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #047857;
}

.agent-auth-page.auth-page-agent-register .agent-auth-register--footer {
    flex-shrink: 0;
    padding: 1.125rem 0 0.5rem;
}

/* Neutralize auth-atelier register wizard flex distribution on agent portal */
.agent-auth-page.auth-page-agent-register .auth-sheet-panel--agent-register .auth-wizard-pane.agent-register-viewport {
    display: block;
    gap: 0;
    min-height: 0;
}

.agent-auth-page.auth-page-agent-register .auth-sheet-panel--agent-register .auth-wizard-pane.agent-register-viewport .agent-register-form-body,
.agent-auth-page.auth-page-agent-register .auth-sheet-panel--agent-register .auth-wizard-pane.agent-register-viewport .agent-register-action-area {
    flex: none;
    min-height: 0;
}

.agent-auth-page.auth-page-agent-register .auth-cta:disabled {
    opacity: 0.55;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 991.98px) {
    .agent-auth-page.auth-page-agent-register .agent-auth-shell {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow: visible;
        flex-direction: column;
    }

    .agent-auth-page.auth-page-agent-register .agent-auth-stage {
        display: none !important;
    }

    .agent-auth-page.auth-page-agent-register .agent-auth-main {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .agent-auth-page.auth-page-agent-register .agent-auth-body {
        overflow: visible;
        padding-top: 1rem;
    }

    .agent-auth-page.auth-page-agent-register .agent-register-form-body {
        min-height: 0;
    }

    .agent-auth-page.auth-page-agent-register .agent-register-field--email.auth-reveal {
        min-height: 0;
    }

    .agent-auth-page.auth-page-agent-register .auth-otp-reserve {
        min-height: 0;
    }
}

/* Agent register wizard — aligned with seller auth-atelier */
.agent-auth-page .auth-sheet-panel--agent-register .auth-sheet-sub {
    color: var(--muted);
    font-size: 0.9375rem;
    margin: 0;
    font-weight: 500;
}

.agent-auth-page .auth-field-block {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.agent-auth-page .auth-field-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0;
}

.agent-auth-page .auth-field-label--sm {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 600;
    color: var(--ink);
}

.agent-auth-page .auth-field-input {
    min-height: var(--input-h);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1rem;
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.agent-auth-page .auth-field-input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 76, 192, 0.1);
    outline: none;
}

.agent-auth-page .auth-field-input--file {
    padding: 0.65rem 0.85rem;
    font-size: 0.875rem;
}

.agent-auth-page .auth-field-split {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    align-items: stretch;
}

.agent-auth-page .auth-field-split .auth-field-input {
    min-width: 0;
}

.agent-auth-page .auth-soft-btn {
    min-height: var(--input-h);
    padding: 0 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-alt);
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s, border-color 0.2s;
}

.agent-auth-page .auth-soft-btn:hover:not(:disabled) {
    background: var(--brand-soft);
    border-color: rgba(0, 76, 192, 0.25);
    color: var(--brand) !important;
}

.agent-auth-page .auth-soft-btn:disabled,
.agent-auth-page .auth-soft-btn.is-done {
    opacity: 0.75;
    cursor: default;
}

.agent-auth-page .auth-soft-btn--solid {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    width: 100%;
}

.agent-auth-page .auth-soft-btn--solid:hover:not(:disabled) {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
    color: #fff !important;
}

.agent-auth-page .auth-soft-btn.is-done:hover:not(:disabled) {
    color: #047857 !important;
}

.agent-auth-page.auth-page-agent-register .auth-otp-stack .auth-soft-btn--solid {
    width: 100%;
    margin-top: 0.15rem;
}

.agent-auth-page .auth-otp-slot {
    height: auto !important;
    max-height: 0 !important;
    overflow: hidden;
    opacity: 0;
    margin: 0 !important;
    padding: 0 !important;
    transition: max-height 0.25s ease, opacity 0.2s, margin 0.2s;
}

.agent-auth-page .auth-otp-slot.is-open {
    max-height: 12rem !important;
    opacity: 1;
    margin-top: 0.75rem !important;
    overflow: visible;
}

.agent-auth-page .auth-otp-stack {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: stretch;
}

.agent-auth-page .auth-otp-stack.is-collapsed {
    display: none !important;
}

.agent-auth-page .auth-otp-digit-input {
    letter-spacing: 0.45em;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    padding-left: 0.45em;
    font-variant-numeric: tabular-nums;
}

.agent-auth-page:not(.auth-page-agent-register) .auth-reveal {
    display: none;
}

.agent-auth-page:not(.auth-page-agent-register) .auth-reveal.is-visible {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.agent-auth-page:not(.auth-page-agent-register) .auth-terms-accept {
    margin: 0.25rem 0 1rem;
}

.agent-auth-page .auth-terms-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: var(--ink);
    cursor: pointer;
}

.agent-auth-page .auth-sheet-legal-link {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    color: var(--brand);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.agent-auth-page:not(.auth-page-agent-register) .auth-msg-slot {
    min-height: 1.25rem;
}

.agent-auth-page .auth-inline-info {
    color: var(--brand);
    font-size: 0.8125rem;
    font-weight: 500;
}

.agent-auth-page .auth-inline-error {
    color: #dc2626;
    font-size: 0.8125rem;
}

.agent-auth-page .auth-verified-badge {
    color: #047857;
    font-size: 0.8125rem;
    font-weight: 600;
}

.agent-auth-page:not(.auth-page-agent-register) .auth-progress-line--agent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    margin: 0.75rem 0 1.25rem;
}

.agent-auth-page.auth-page-agent-register .auth-progress-line--agent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
}

.agent-auth-page .auth-progress-line--agent .auth-progress-seg {
    height: 4px;
    border-radius: 999px;
    background: var(--line);
}

.agent-auth-page .auth-progress-line--agent .auth-progress-seg.is-done,
.agent-auth-page .auth-progress-line--agent .auth-progress-seg.is-current {
    background: var(--brand);
}

.agent-auth-page .auth-duo-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

.agent-auth-page .auth-ghost {
    min-height: 54px;
    padding: 0 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--muted);
    font-weight: 600;
}

.agent-auth-page .auth-ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.agent-auth-page .auth-field-password {
    position: relative;
    display: flex;
    align-items: stretch;
}

.agent-auth-page .auth-field-password .auth-field-lead {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    z-index: 1;
}

.agent-auth-page .auth-field-input--icon {
    padding-left: 2.75rem;
}

.agent-auth-page .auth-field-eye {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--muted);
    padding: 0.25rem;
}

.agent-auth-page .auth-strength {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 0.3rem;
    align-items: center;
    margin-top: 0.35rem;
}

.agent-auth-page .auth-strength-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--line);
}

.agent-auth-page .auth-strength-bar.is-on {
    background: var(--brand);
}

.agent-auth-page .auth-strength-label {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
}

.agent-auth-page .auth-whisper--compact {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

.agent-auth-page .auth-optional {
    font-weight: 500;
    color: var(--muted);
    text-transform: none;
    letter-spacing: 0;
}

.agent-auth-page .agent-profile-contact {
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

@media (max-width: 575.98px) {
    .agent-auth-page .auth-field-split {
        grid-template-columns: 1fr;
    }
    .agent-auth-page .auth-soft-btn {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    .agent-auth-body {
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .agent-auth-page .auth-sheet-panel--agent .auth-sheet-title {
        font-size: 1.85rem;
    }
}

@media (max-height: 720px) and (min-width: 992px) {
    .agent-auth-showcase-title { font-size: 1.95rem; }
    .agent-auth-page .auth-sheet-panel--agent .auth-sheet-head { margin-bottom: 1.25rem; }
}
