/* Auth — WhatsApp-themed split layout */

:root {
    --auth-brand: #25d366;
    --auth-brand-dark: #128c7e;
    --auth-brand-deep: #075e54;
    --auth-brand-light: #86efac;
    --auth-brand-rgb: 37, 211, 102;
    --auth-btn-bg: #128c7e;
    --auth-btn-bg-end: #075e54;
    --auth-btn-bg-hover: #159a88;
    --auth-btn-shadow-rgb: 7, 94, 84;
    --auth-wa-bg: #0b141a;
    --auth-wa-panel: #111b21;
}

body.auth-modern-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #f4f4f5;
}

.auth-page-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media (min-width: 1200px) {
    .auth-page-wrap {
        flex-direction: row;
        align-items: stretch;
    }
}

/* —— Form panel —— */
.auth-form-column {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    background: #f4f4f5;
    padding: 1rem 1.25rem;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .auth-form-column {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-width: 0;
        padding: 2rem 2.5rem;
        background: #f0f2f5;
        border-right: 1px solid #e9edef;
    }
}

/* Single logo on form side only */
.auth-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #111b21;
}

.auth-brand-lockup__mark {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
}

.auth-brand-lockup__name {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.auth-panel-top .auth-logo-link img {
    height: 40px;
    width: auto;
}

.auth-form-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    flex: 1;
    justify-content: center;
    min-height: 0;
}

@media (min-width: 1200px) {
    .auth-form-inner:has(.auth-card--onboarding) {
        max-width: 480px;
    }
}

.auth-form-column::before {
    display: none;
}

.auth-panel-top {
    padding: max(0.5rem, env(safe-area-inset-top)) 0 1.25rem;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.auth-panel-top .auth-logo-link img {
    height: 40px;
    width: auto;
}

.auth-card-shell {
    flex: 0 1 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0 0 1.25rem;
    width: 100%;
    box-sizing: border-box;
}

/* Form card — always visible */
.auth-card {
    background: #ffffff;
    border: 1px solid #d4d4d8;
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 2px 4px rgba(0, 0, 0, 0.04),
        0 16px 48px rgba(15, 23, 42, 0.1);
    padding: 2rem 1.75rem 1.75rem;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .auth-card {
        padding: 2.25rem 2rem 2rem;
        border-radius: 24px;
    }
}

/* —— Form typography & spacing —— */
.auth-card__header {
    margin-bottom: 1.75rem;
}

.auth-card__header .auth-kicker {
    margin-bottom: 0.75rem;
}

.auth-card__header .auth-title {
    margin: 0 0 0.5rem;
}

.auth-card__header .auth-subtitle {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #52525b;
}

.auth-form-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
}

.auth-form-stack > .auth-field {
    margin-bottom: 1.125rem;
}

.auth-form-stack > .auth-social-block {
    margin-bottom: 1.25rem;
}

.auth-form-stack > .auth-social-block:empty {
    display: none;
    margin: 0;
}

.auth-form-stack > .auth-row-actions {
    margin: 0.25rem 0 1.25rem;
}

.auth-form-stack > .auth-btn-submit {
    margin-bottom: 1.25rem;
}

.auth-form-stack > .auth-form-actions {
    margin-bottom: 0;
}

.auth-form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.auth-form-actions .auth-btn-submit,
.auth-form-actions .auth-btn-primary {
    width: 100%;
    margin-bottom: 0 !important;
}

.auth-session-status {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
}

.auth-field-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #71717a;
}

.auth-field-error {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #dc2626;
    font-weight: 600;
}

.auth-card--form .ra-pass-strength {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.auth-card--form .ra-pass-strength span {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #e4e4e7;
}

.auth-card--form .ra-pass-strength span.on {
    background: #25d366;
}

.auth-card__footer-text {
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid #f4f4f5;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #71717a;
    line-height: 1.5;
}

.auth-card__footer-text .auth-link {
    margin-left: 0.25rem;
}

.auth-card__header--compact {
    margin-bottom: 1.25rem;
}

.auth-btn-secondary-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-top: 0.75rem;
}

.auth-form-stack--wizard .auth-wizard-steps-row {
    margin-bottom: 0.75rem;
}

.auth-form-stack--wizard .auth-step-meta {
    margin-bottom: 1.125rem;
}

.auth-form-stack--wizard .auth-wizard-step .auth-field {
    margin-bottom: 1.125rem;
}

.auth-form-stack--wizard .auth-wizard-step .auth-field:last-child {
    margin-bottom: 0;
}

.auth-form-stack--wizard .auth-wizard-nav {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #f4f4f5;
}

.auth-form-stack--wizard .auth-wizard-body {
    display: block;
}

.auth-card--register .ra-check-block {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #3f3f46;
}

.auth-card--register .ra-check-block input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.auth-form-stack--wizard > .auth-card__footer-text,
.auth-form-stack > p.text-center {
    margin: 0;
    padding-top: 1.25rem;
    border-top: 1px solid #f4f4f5;
    text-align: center;
    font-size: 0.9375rem;
    color: #71717a;
}

.auth-card-shell > .w-lg-500px,
.auth-card-shell .auth-card-shell {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--auth-brand, #7c3aed);
}

.auth-kicker-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--auth-brand, #25d366);
    box-shadow: 0 0 0 4px rgba(var(--auth-brand-rgb, 37, 211, 102), 0.22);
}

.auth-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.auth-card--onboarding {
    padding: 1.75rem 1.5rem 1.5rem;
}

.auth-card--onboarding .auth-card__header {
    margin-bottom: 1.25rem;
}

.auth-card--onboarding .auth-title {
    font-size: 1.625rem;
}

.auth-card--onboarding .auth-subtitle--desktop {
    font-size: 0.9375rem;
    color: #52525b;
}

.auth-subtitle {
    font-size: 1rem;
    color: #52525b;
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 36ch;
}

/* Icon inputs */
.auth-field {
    margin-bottom: 0;
}

.auth-field .form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #27272a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.auth-input-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.auth-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #a1a1aa;
    pointer-events: none;
    z-index: 1;
}

/* Override Metronic bg-transparent / theme form styles */
.auth-modern-body .auth-field:not(.auth-field--phone) .form-control,
.auth-modern-body .auth-field:not(.auth-field--phone) .form-select,
.auth-modern-body .auth-field:not(.auth-field--phone) input.form-control,
.auth-modern-body .auth-field:not(.auth-field--phone) textarea.form-control {
    height: 3.25rem !important;
    min-height: 3.25rem;
    padding: 0 1rem 0 2.85rem !important;
    width: 100% !important;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #18181b !important;
    -webkit-text-fill-color: #18181b;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1.5px solid #d4d4d8 !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-modern-body .auth-field > .form-control {
    padding-left: 1rem !important;
}

.auth-modern-body .auth-field .form-control::placeholder {
    color: #a1a1aa !important;
    opacity: 1;
}

.auth-modern-body .auth-field .form-control:hover {
    border-color: #a1a1aa !important;
    background-color: #fafafa !important;
}

.auth-modern-body .auth-field .form-control:focus,
.auth-modern-body .auth-field .form-select:focus {
    background-color: #ffffff !important;
    border-color: var(--auth-brand, #25d366) !important;
    box-shadow: 0 0 0 4px rgba(var(--auth-brand-rgb, 37, 211, 102), 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    outline: none !important;
}

/* Autofill (Chrome) — keep fields readable */
.auth-modern-body .auth-field input.form-control:-webkit-autofill,
.auth-modern-body .auth-field input.form-control:-webkit-autofill:hover,
.auth-modern-body .auth-field input.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #18181b !important;
    border: 1.5px solid #d4d4d8 !important;
}

.auth-field .form-control.pe-12 {
    padding-right: 3rem;
}

.auth-field .position-relative .form-control {
    padding-left: 2.85rem;
}

.auth-field .position-relative .auth-input-icon {
    left: 1rem;
}

.auth-input-wrap--password .form-control {
    padding-right: 3rem !important;
}

.auth-toggle-pass {
    position: absolute;
    right: 0.65rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #71717a;
    cursor: pointer;
}

.auth-toggle-pass:hover {
    background: #f4f4f5;
    color: #18181b;
}

.auth-toggle-pass i {
    font-size: 1.125rem;
    line-height: 1;
}

.auth-row-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #3f3f46;
}

.auth-check .form-check-input {
    margin: 0;
    width: 1rem;
    height: 1rem;
}

.auth-btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Submit button loading state — auth-forms.js + Vue restro-auth */
.auth-modern-body .auth-btn-submit > .indicator-progress,
.auth-modern-body .auth-btn-primary.auth-btn-submit > .indicator-progress,
.auth-page-wrap .auth-btn-submit > .indicator-progress,
.auth-page-wrap .auth-btn-primary.auth-btn-submit > .indicator-progress {
    display: none;
}

.auth-modern-body .auth-btn-submit.is-loading > .indicator-label,
.auth-modern-body .auth-btn-submit.is-processing > .indicator-label,
.auth-modern-body .auth-btn-submit[data-kt-indicator='on'] > .indicator-label,
.auth-modern-body .auth-btn-primary.auth-btn-submit.is-loading > .indicator-label,
.auth-modern-body .auth-btn-primary.auth-btn-submit.is-processing > .indicator-label,
.auth-page-wrap .auth-btn-submit.is-loading > .indicator-label,
.auth-page-wrap .auth-btn-submit.is-processing > .indicator-label,
.auth-page-wrap .auth-btn-submit[data-kt-indicator='on'] > .indicator-label,
.auth-page-wrap .auth-btn-primary.auth-btn-submit.is-loading > .indicator-label,
.auth-page-wrap .auth-btn-primary.auth-btn-submit.is-processing > .indicator-label {
    display: none !important;
}

.auth-modern-body .auth-btn-submit.is-loading > .indicator-progress,
.auth-modern-body .auth-btn-submit.is-processing > .indicator-progress,
.auth-modern-body .auth-btn-submit[data-kt-indicator='on'] > .indicator-progress,
.auth-modern-body .auth-btn-primary.auth-btn-submit.is-loading > .indicator-progress,
.auth-modern-body .auth-btn-primary.auth-btn-submit.is-processing > .indicator-progress,
.auth-page-wrap .auth-btn-submit.is-loading > .indicator-progress,
.auth-page-wrap .auth-btn-submit.is-processing > .indicator-progress,
.auth-page-wrap .auth-btn-submit[data-kt-indicator='on'] > .indicator-progress,
.auth-page-wrap .auth-btn-primary.auth-btn-submit.is-loading > .indicator-progress,
.auth-page-wrap .auth-btn-primary.auth-btn-submit.is-processing > .indicator-progress {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.auth-modern-body .auth-btn-submit.is-loading,
.auth-modern-body .auth-btn-submit.is-processing,
.auth-modern-body .auth-btn-submit[data-kt-indicator='on'],
.auth-page-wrap .auth-btn-submit.is-loading,
.auth-page-wrap .auth-btn-submit.is-processing,
.auth-page-wrap .auth-btn-submit[data-kt-indicator='on'] {
    pointer-events: none;
    cursor: wait;
    opacity: 0.94;
}

.auth-btn-spinner {
    display: inline-block;
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    min-height: 1.125rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: auth-btn-spin 0.65s linear infinite;
    flex-shrink: 0;
    vertical-align: middle;
}

.auth-form-feedback {
    display: block;
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.45;
}

.auth-form-feedback[hidden] {
    display: none !important;
}

/* Laravel validation block — keep inside card, match inline feedback */
.auth-validation-errors {
    margin: 0 0 1rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: 12px !important;
    background: #fee2e2 !important;
    border: 1px solid #fecaca !important;
    color: #991b1b !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    list-style: none !important;
}

.auth-validation-errors .font-medium,
.auth-validation-errors ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    color: #991b1b !important;
    font-size: 0.875rem !important;
}

.auth-validation-errors li {
    margin: 0.25rem 0 0 !important;
}

.auth-form-feedback--success {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.auth-form-feedback--error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fecaca;
}

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

/* Primary CTA — always brand gradient */
.auth-btn-primary,
.btn.auth-btn-primary,
.btn-info.auth-btn-primary {
    height: 3.25rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    background: linear-gradient(180deg, var(--auth-btn-bg, #128c7e) 0%, var(--auth-btn-bg-end, #075e54) 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px -4px rgba(var(--auth-btn-shadow-rgb, 7, 94, 84), 0.55) !important;
}

.auth-btn-primary:hover:not(:disabled),
.btn-info.auth-btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -4px rgba(var(--auth-btn-shadow-rgb, 7, 94, 84), 0.6) !important;
    color: #fff !important;
    background: linear-gradient(180deg, var(--auth-btn-bg-hover, #159a88) 0%, var(--auth-btn-bg, #128c7e) 100%) !important;
}

.auth-btn-primary:active:not(:disabled),
.btn-info.auth-btn-primary:active:not(:disabled) {
    transform: translateY(0);
    background: linear-gradient(180deg, #0f7268 0%, #054a44 100%) !important;
}

.auth-btn-secondary {
    height: 3rem;
    font-weight: 700;
    border-radius: 12px !important;
    border: 2px solid #e4e4e7 !important;
    background: #fff !important;
    color: #3f3f46 !important;
}

.auth-link {
    color: var(--auth-brand-dark, #128c7e);
    font-weight: 700;
}

.auth-link:hover {
    color: var(--auth-brand, #25d366);
}

.auth-footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 1rem 0 max(0.5rem, env(safe-area-inset-bottom));
    width: 100%;
    flex-shrink: 0;
    border-top: 1px solid #e4e4e7;
    margin-top: 0.25rem;
}

.auth-footer-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #71717a;
}

.auth-footer-flag {
    border-radius: 4px;
    object-fit: cover;
}

.auth-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.auth-footer-nav a,
.auth-footer-links a {
    color: #71717a;
    text-decoration: none;
}

.auth-footer-nav a:hover,
.auth-footer-links a:hover {
    color: var(--auth-brand-dark, #128c7e);
}

/* Wizard — circular steps */
.auth-wizard-steps-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
}

.auth-wizard-steps-row::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e4e4e7;
    z-index: 0;
}

.auth-wizard-step-dot {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
}

.auth-wizard-step-dot .dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 800;
    background: #fff;
    border: 2px solid #e4e4e7;
    color: #a1a1aa;
    transition: all 0.25s ease;
}

.auth-wizard-step-dot.is-active .dot {
    border-color: var(--auth-btn-bg, #128c7e);
    background: linear-gradient(180deg, var(--auth-btn-bg, #128c7e) 0%, var(--auth-btn-bg-end, #075e54) 100%);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(var(--auth-btn-shadow-rgb, 7, 94, 84), 0.2);
}

.auth-wizard-step-dot.is-done .dot {
    border-color: var(--auth-brand, #25d366);
    background: #dcfce7;
    color: var(--auth-brand-dark, #128c7e);
}

.auth-wizard-step-dot .label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a1a1aa;
}

.auth-wizard-step-dot.is-active .label {
    color: var(--auth-btn-bg, #128c7e);
}

.auth-wizard-progress,
.auth-wizard-step-labels {
    display: none !important;
}

.auth-step-meta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #71717a;
    margin: 0 0 1rem;
}

@media (min-width: 1200px) {
    .auth-step-meta {
        margin-bottom: 0.875rem;
    }
}

.auth-wizard-nav {
    margin-top: 1.75rem;
    gap: 0.75rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.25rem;
    color: #a1a1aa;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e4e4e7;
}

.auth-social-block .auth-divider {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.auth-social-block .row {
    margin: 0 !important;
    --bs-gutter-y: 0.75rem;
}

.auth-modern-body .auth-social-block .btn {
    height: 2.75rem !important;
    border-radius: 12px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    background: #fff !important;
    border: 1.5px solid #e4e4e7 !important;
    color: #18181b !important;
    box-shadow: none !important;
}

.auth-modern-body .auth-social-block .btn:hover {
    border-color: #d4d4d8 !important;
    background: #fafafa !important;
}

.auth-modern-body .auth-social-block .separator,
.auth-modern-body .auth-social-block .auth-separator {
    display: none !important;
}

/* —— Visual panel (xl+ only; hidden below 1200px via d-none d-xl-flex) —— */
.auth-hero-panel {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--auth-wa-bg, #0b141a);
    width: 100%;
}

@media (min-width: 1200px) {
    .auth-hero-panel {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        min-width: 0;
    }
}

/* Hero background — flat, product-style (no pattern / orbs / noise) */
.auth-hero-mesh {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #0b141a 0%, #111b21 48%, #0d2226 100%);
    pointer-events: none;
}

.auth-hero-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 70% at 50% 100%, rgba(37, 211, 102, 0.1), transparent 65%);
    pointer-events: none;
}

.auth-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100%;
    width: 100%;
    padding: 1.5rem 1.25rem;
    box-sizing: border-box;
}

/* Centered hero stack — readable sizes on xl+ */
.auth-hero-stack,
.auth-hero-layout {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: min(100%, 34rem);
    margin: 0 auto;
    gap: 0.75rem;
}

.auth-hero-brand-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.auth-hero-logo {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    object-fit: contain;
}

.auth-hero-brand,
.auth-hero-brand-mark {
    display: block;
    margin: 0;
    font-size: clamp(2.125rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.auth-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    margin: 0;
    padding: 0.4rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.25;
    color: #e9edef;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
}

.auth-hero-badge-dot {
    width: 0.4375rem;
    height: 0.4375rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: #25d366;
}

.auth-hero-badge-wa {
    width: 0.875rem;
    height: 0.875rem;
    flex-shrink: 0;
    color: #25d366;
}

.auth-hero-art,
.auth-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0.25rem 0;
    padding: 0;
    line-height: 0;
}

.auth-hero-art img,
.auth-hero-visual img {
    display: block;
    width: min(100%, 300px);
    height: auto;
    max-height: 220px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

.auth-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
}

.auth-hero-headline {
    margin: 0;
    font-size: clamp(1.75rem, 2.8vw, 2.125rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-hero-headline-accent {
    display: inline;
    color: #34eb7a;
    background: linear-gradient(
        105deg,
        #b8ffd4 0%,
        #5cff95 22%,
        #25d366 55%,
        #1ed760 78%,
        #00c853 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 14px rgba(37, 211, 102, 0.45));
}

.auth-hero-lead,
.auth-hero-desc {
    display: block;
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.55;
    color: #8696a0;
    max-width: 42ch;
}

.auth-hero-lead strong {
    font-weight: 600;
    color: #d1e7dd;
}

@media (min-width: 1200px) {
    .auth-hero-stack,
    .auth-hero-layout {
        display: flex;
        gap: 0.75rem;
        max-width: min(100%, 32rem);
    }

    .auth-hero-inner {
        padding: 1.5rem 2rem;
    }

    .auth-hero-logo {
        width: 3.75rem;
        height: 3.75rem;
    }

    .auth-hero-brand,
    .auth-hero-brand-mark {
        font-size: 2.5rem;
    }

    .auth-hero-badge {
        font-size: 0.875rem;
        padding: 0.45rem 0.95rem;
    }

    .auth-hero-art img,
    .auth-hero-visual img {
        width: min(100%, 340px);
        max-height: 260px;
    }

    .auth-hero-headline {
        font-size: 2rem;
    }

    .auth-hero-lead,
    .auth-hero-desc {
        font-size: 1rem;
        max-width: 44ch;
    }
}

@media (min-width: 1400px) {
    .auth-hero-stack,
    .auth-hero-layout {
        max-width: min(100%, 36rem);
        gap: 0.875rem;
    }

    .auth-hero-brand,
    .auth-hero-brand-mark {
        font-size: 2.75rem;
    }

    .auth-hero-art img,
    .auth-hero-visual img {
        width: min(100%, 380px);
        max-height: 300px;
    }

    .auth-hero-headline {
        font-size: 2.25rem;
    }

    .auth-hero-lead,
    .auth-hero-desc {
        font-size: 1.0625rem;
    }
}

/* Hide duplicate product logo on hero — logo lives on form side only */
.auth-visual-brand {
    display: none !important;
}

.auth-hero-wa-mark,
.auth-hero-eyebrow {
    display: none;
}

.auth-hero-headline .gradient,
.auth-hero-headline-accent.gradient {
    background: linear-gradient(
        105deg,
        #b8ffd4 0%,
        #5cff95 22%,
        #25d366 55%,
        #1ed760 78%,
        #00c853 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-bento-card {
    background: #202c33;
    border: 1px solid #2a3942;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.25s ease, border-color 0.25s;
}

.auth-bento-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.18);
}

.auth-bento-card--phone {
    grid-row: span 2;
    padding: 0;
    overflow: hidden;
    min-height: 220px;
    background: #0b141a;
    border-color: #2a3942;
}

.auth-bento-card--wide {
    grid-column: span 2;
}

.auth-phone-ui {
    padding: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #0b141a;
}

.auth-phone-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.25rem 0.5rem;
    border-bottom: 1px solid #2a3942;
    background: #202c33;
    margin: -0.75rem -0.75rem 0.25rem;
    padding: 0.65rem 0.75rem;
}

.auth-phone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.auth-phone-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.auth-phone-status {
    font-size: 0.625rem;
    color: #25d366;
    text-transform: lowercase;
}

.auth-chat-bubble {
    max-width: 88%;
    padding: 0.45rem 0.65rem;
    border-radius: 8px 8px 8px 2px;
    font-size: 0.6875rem;
    line-height: 1.4;
    color: #111b21;
    background: var(--auth-wa-bubble-in, #ffffff);
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.auth-chat-bubble--out {
    align-self: flex-end;
    border-radius: 8px 8px 2px 8px;
    background: var(--auth-wa-bubble-out, #d9fdd3);
    color: #111b21;
}

.auth-chat-bubble--order {
    align-self: flex-end;
    background: #d9fdd3;
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #065f46;
    font-weight: 600;
}

.auth-bento-stat {
    text-align: left;
}

.auth-bento-stat .val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.auth-bento-stat .lbl {
    font-size: 0.6875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.auth-bento-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.auth-bento-icon--wa { background: rgba(37, 211, 102, 0.2); }
.auth-bento-icon--teal { background: rgba(0, 168, 132, 0.25); }
.auth-bento-icon--deep { background: rgba(7, 94, 84, 0.45); }

.auth-bento-card .mini-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.auth-bento-card .mini-desc {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0.2rem 0 0;
}

.auth-hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.25rem 0 0;
    padding: 0;
}

.auth-hero-chips--full {
    display: flex;
}

.auth-hero-chip {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .auth-hero-chip {
        font-size: 0.875rem;
        padding: 0.55rem 1rem;
    }
}

.auth-hero-chip::before {
    content: none;
}

/* Desktop-only copy in card header */
.auth-subtitle--mobile {
    display: none;
}

.auth-kicker--desktop {
    display: inline-flex;
}

@media (max-width: 1199.98px) {
    .auth-modern-body:not(.auth-page--no-brand) .auth-card__header .auth-kicker,
    .auth-modern-body:not(.auth-page--no-brand) .auth-kicker--desktop,
    .auth-modern-body:not(.auth-page--no-brand) .auth-subtitle--desktop,
    .auth-modern-body:not(.auth-page--no-brand) .auth-card__header > .auth-subtitle:not(.auth-subtitle--mobile) {
        display: none !important;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-subtitle--mobile {
        display: block;
        margin: 0.35rem 0 0;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #667781;
        line-height: 1.4;
    }
}

/* Tablet & mobile — branded sheet only (login/register/forgot use .auth-page--no-brand block below) */
@media (max-width: 1199.98px) {
    body.auth-modern-body {
        background: #e9edef;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-form-column {
        justify-content: flex-start;
        padding: 0;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        background: #e9edef;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-form-inner {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        min-height: 100dvh;
        margin: 0;
        padding: 0;
        justify-content: flex-start;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-panel-top {
        flex-shrink: 0;
        padding: max(1.5rem, env(safe-area-inset-top)) 1.5rem 1.75rem;
        text-align: center;
        background: linear-gradient(165deg, #075e54 0%, #128c7e 100%);
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-brand-lockup {
        justify-content: center;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-brand-lockup__mark {
        height: 44px;
        width: 44px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-brand-lockup__name {
        font-size: 1.0625rem;
        font-weight: 700;
        color: #ffffff;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-card-shell {
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        margin-top: -1rem;
        padding: 0;
        background: #ffffff;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -2px 16px rgba(11, 20, 26, 0.06);
        min-height: 0;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-card-shell > .auth-validation-errors,
    .auth-modern-body:not(.auth-page--no-brand) .auth-card-shell > .auth-card {
        width: 100%;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-card {
        flex: 1 1 auto;
        padding: 1.75rem 1.5rem 1.5rem;
        background: #ffffff !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-card__header {
        margin-bottom: 1.75rem;
        padding-bottom: 0;
        border-bottom: none;
    }

    .auth-title {
        font-size: 1.625rem;
        font-weight: 800;
        letter-spacing: -0.035em;
        color: #111b21;
        margin: 0;
    }

    .auth-modern-body .auth-field .form-control,
    .auth-modern-body .auth-field input.form-control {
        height: 3rem !important;
        min-height: 3rem;
        background-color: #f0f2f5 !important;
        border: 1px solid transparent !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        padding-left: 2.75rem !important;
    }

    .auth-modern-body .auth-field .form-control:focus {
        background-color: #ffffff !important;
        border-color: var(--auth-brand, #25d366) !important;
        box-shadow: 0 0 0 3px rgba(var(--auth-brand-rgb, 37, 211, 102), 0.2) !important;
    }

    .auth-field .form-label {
        font-size: 0.8125rem;
        color: #54656f;
        margin-bottom: 0.4rem;
    }

    .auth-form-stack > .auth-field {
        margin-bottom: 1rem;
    }

    .auth-btn-primary,
    .btn.auth-btn-primary {
        height: 3rem !important;
        min-height: 3rem;
        margin-top: 0.25rem;
        border-radius: 10px !important;
        font-size: 0.9375rem !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 14px -2px rgba(var(--auth-btn-shadow-rgb, 7, 94, 84), 0.45) !important;
    }

    .auth-card__footer-text {
        border-top: none;
        padding-top: 1.25rem;
        font-size: 0.875rem;
        color: #667781;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-footer-links {
        flex-shrink: 0;
        padding: 0.75rem 1.5rem max(1rem, env(safe-area-inset-bottom));
        margin-top: 0;
        border-top: 1px solid #e9edef;
        background: #ffffff;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-footer-nav a,
    .auth-modern-body:not(.auth-page--no-brand) .auth-footer-lang {
        font-size: 0.8125rem;
        color: #8696a0;
    }
}

@media (min-width: 1200px) {
    .auth-subtitle--mobile {
        display: none !important;
    }
}

/* Metronic / Bootstrap resets on auth pages only */
.auth-modern-body .auth-form-column .fv-row {
    margin-bottom: 0 !important;
}

.auth-modern-body .auth-card .mb-8,
.auth-modern-body .auth-card .mb-6,
.auth-modern-body .auth-card .mb-4,
.auth-modern-body .auth-card .mt-1 {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

@media (max-width: 575.98px) {
    .auth-modern-body:not(.auth-page--no-brand) .auth-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .auth-modern-body:not(.auth-page--no-brand) .auth-title {
        font-size: 1.5rem;
    }

    .auth-wizard-step-dot .label {
        font-size: 0.55rem;
    }

    .auth-wizard-step-dot .dot {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Auth forms (login, register, forgot, reset) — no top logo, cleaner mobile sheet */
.auth-page--no-brand .auth-panel-top {
    display: none !important;
}

@media (min-width: 1200px) {
    .auth-page--no-brand .auth-form-inner {
        max-width: 520px;
        padding-top: 0.5rem;
    }

    .auth-page--no-brand .auth-card--onboarding {
        padding: 2rem 2rem 1.75rem;
    }
}

/* Mobile hero band (no logo lockup) */
.auth-mobile-hero {
    display: none;
}

@media (max-width: 1199.98px) {
    /* —— Unified mobile shell: login, register, forgot, reset (identical layout) —— */
    .auth-page--no-brand .auth-form-column {
        background: #e9edef !important;
        padding: 0 !important;
        justify-content: flex-start !important;
    }

    .auth-page--no-brand .auth-form-inner {
        display: flex !important;
        flex-direction: column !important;
        min-height: 100dvh !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 1rem max(0.75rem, env(safe-area-inset-bottom)) !important;
        justify-content: flex-start !important;
        background: transparent !important;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .auth-page--no-brand .auth-mobile-hero {
        display: block;
        position: relative;
        flex-shrink: 0;
        height: 7.5rem;
        min-height: 7.5rem;
        padding-top: env(safe-area-inset-top, 0);
        overflow: hidden;
        background: linear-gradient(145deg, #075e54 0%, #128c7e 42%, #25d366 100%);
    }

    .auth-page--no-brand .auth-mobile-hero__mesh {
        position: absolute;
        inset: 0;
        opacity: 0.35;
        background-image:
            radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.35) 0%, transparent 45%),
            radial-gradient(circle at 85% 20%, rgba(220, 248, 198, 0.5) 0%, transparent 40%);
    }

    .auth-page--no-brand .auth-mobile-hero__orb {
        position: absolute;
        border-radius: 50%;
        filter: blur(1px);
    }

    .auth-page--no-brand .auth-mobile-hero__orb--1 {
        width: 140px;
        height: 140px;
        top: -40px;
        right: -30px;
        background: rgba(255, 255, 255, 0.12);
    }

    .auth-page--no-brand .auth-mobile-hero__orb--2 {
        width: 90px;
        height: 90px;
        bottom: -20px;
        left: 8%;
        background: rgba(220, 248, 198, 0.25);
    }

    .auth-page--no-brand .auth-card-shell {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 26rem !important;
        margin: -2.25rem auto 0.75rem !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        min-height: 0 !important;
        z-index: 2;
    }

    .auth-page--no-brand .auth-card-shell > .auth-validation-errors,
    .auth-page--no-brand .auth-card-shell > .auth-card {
        width: 100% !important;
    }

    .auth-page--no-brand .auth-card {
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 1.5rem 1.35rem 1.35rem !important;
        background: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 0.9) !important;
        border-radius: 20px !important;
        box-shadow:
            0 4px 6px rgba(11, 20, 26, 0.04),
            0 20px 48px rgba(11, 20, 26, 0.12),
            0 0 0 1px rgba(11, 20, 26, 0.04) !important;
        min-height: unset !important;
        overflow: visible !important;
    }

    .auth-page--no-brand .auth-card__header {
        margin-bottom: 1.25rem !important;
        padding-bottom: 1rem !important;
        border-bottom: 1px solid #f0f2f5 !important;
    }

    .auth-page--no-brand .auth-card__header .auth-kicker,
    .auth-page--no-brand .auth-kicker--desktop {
        display: inline-flex !important;
        font-size: 0.625rem;
        letter-spacing: 0.14em;
        color: #128c7e;
    }

    .auth-page--no-brand .auth-kicker-dot {
        background: #25d366;
        box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.28);
    }

    .auth-page--no-brand .auth-subtitle--desktop {
        display: block !important;
        margin-top: 0.4rem;
        font-size: 0.9375rem;
        font-weight: 500;
        color: #54656f;
        line-height: 1.45;
        max-width: none;
    }

    .auth-page--no-brand .auth-subtitle--mobile {
        display: none !important;
    }

    .auth-page--no-brand .auth-title {
        font-size: 1.75rem;
        font-weight: 800;
        letter-spacing: -0.04em;
        line-height: 1.1;
        color: #111b21;
    }

    .auth-page--no-brand .auth-modern-body .auth-field .form-control,
    .auth-page--no-brand .auth-modern-body .auth-field input.form-control {
        height: 3.125rem !important;
        min-height: 3.125rem;
        background-color: #f0f2f5 !important;
        border: 1.5px solid transparent !important;
        border-radius: 12px !important;
    }

    .auth-page--no-brand .auth-modern-body .auth-field .form-control:focus {
        background-color: #ffffff !important;
        border-color: #25d366 !important;
        box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.22) !important;
    }

    .auth-page--no-brand .auth-btn-primary,
    .auth-page--no-brand .btn.auth-btn-primary {
        height: 3.25rem !important;
        min-height: 3.25rem;
        margin-top: 0.5rem;
        border: none !important;
        border-radius: 12px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
        background: linear-gradient(135deg, #25d366 0%, #128c7e 55%, #075e54 100%) !important;
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38) !important;
    }

    .auth-page--no-brand .auth-btn-primary:active,
    .auth-page--no-brand .btn.auth-btn-primary:active {
        transform: scale(0.98);
    }

    .auth-page--no-brand .auth-link {
        color: #128c7e;
        font-weight: 600;
    }

    .auth-page--no-brand .auth-row-actions {
        margin: 0.25rem 0 0.75rem;
    }

    .auth-page--no-brand .auth-card__footer-text {
        margin-top: 1.25rem;
        padding-top: 1.15rem;
        border-top: 1px solid #f0f2f5;
        text-align: center;
        font-size: 0.875rem;
    }

    .auth-page--no-brand .auth-footer-links {
        flex-shrink: 0;
        margin-top: auto;
        padding: 1rem 0.25rem 0;
        background: transparent;
        border-top: none;
    }

    .auth-page--no-brand .auth-footer-nav a,
    .auth-page--no-brand .auth-footer-lang {
        color: #667781;
        font-size: 0.8125rem;
    }

    /* Register wizard (same card; step UI only) */
    .auth-page--no-brand .auth-wizard-steps-row {
        margin-bottom: 0.5rem;
        gap: 0.15rem;
    }

    .auth-page--no-brand .auth-wizard-steps-row::before {
        top: 15px;
        left: 11%;
        right: 11%;
    }

    .auth-page--no-brand .auth-wizard-step-dot .dot {
        width: 30px;
        height: 30px;
        font-size: 0.6875rem;
    }

    .auth-page--no-brand .auth-wizard-step-dot.is-active .dot {
        background: linear-gradient(180deg, #25d366 0%, #128c7e 100%);
        border-color: #128c7e;
    }

    .auth-page--no-brand .auth-wizard-step-dot .label {
        font-size: 0.5625rem;
        letter-spacing: 0.03em;
        line-height: 1.15;
        max-width: 4.25rem;
        text-align: center;
    }

    .auth-page--no-brand .auth-step-meta {
        margin-bottom: 0.875rem;
        font-size: 0.75rem;
        color: #8696a0;
    }

    .auth-page--no-brand .auth-form-stack--wizard {
        display: block;
        flex: none;
        min-height: unset;
    }

    .auth-page--no-brand .auth-wizard-body {
        display: block;
    }

    .auth-page--no-brand .auth-wizard-nav {
        margin-top: 0.5rem !important;
        padding-top: 0 !important;
        border-top: none;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .auth-page--no-brand .auth-wizard-nav > .auth-btn-secondary {
        order: 2;
        width: 100%;
    }

    .auth-page--no-brand .auth-wizard-nav > .ms-auto,
    .auth-page--no-brand .auth-wizard-nav > div.ms-auto {
        order: 1;
        margin-left: 0 !important;
        flex: 1 1 auto !important;
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .auth-page--no-brand .auth-wizard-nav .auth-btn-submit,
    .auth-page--no-brand .auth-wizard-nav .auth-btn-primary {
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .auth-page--no-brand .auth-form-actions {
        margin-top: 0.5rem !important;
    }

    .auth-page--no-brand .auth-card__footer-text {
        margin-top: 1rem !important;
        padding-top: 1rem !important;
        border-top: 1px solid #f0f2f5 !important;
    }

    .auth-page--no-brand .auth-card--onboarding {
        padding: 1.5rem 1.35rem 1.35rem !important;
    }

    .auth-page--no-brand .auth-card--onboarding .auth-card__header {
        margin-bottom: 1.25rem !important;
    }

    .auth-page--no-brand .auth-form-stack > .auth-btn-submit,
    .auth-page--no-brand .auth-wizard-nav .auth-btn-submit {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .auth-page--no-brand .auth-mobile-hero {
        height: 6.75rem;
        min-height: 6.75rem;
    }

    .auth-page--no-brand .auth-form-inner {
        padding-left: 0.875rem !important;
        padding-right: 0.875rem !important;
    }

    .auth-page--no-brand .auth-card-shell {
        margin-top: -2rem !important;
        max-width: 100% !important;
    }

    .auth-page--no-brand .auth-card {
        padding: 1.35rem 1.15rem 1.2rem !important;
        border-radius: 18px !important;
    }

    .auth-page--no-brand .auth-title {
        font-size: 1.625rem !important;
    }

    .auth-page--no-brand .auth-wizard-step-dot .label {
        font-size: 0.5rem;
        max-width: 3.5rem;
    }
}

@media (max-width: 380px) {
    .auth-page--no-brand .auth-wizard-step-dot .label {
        display: none;
    }

    .auth-page--no-brand .auth-wizard-steps-row::before {
        top: 14px;
        left: 14%;
        right: 14%;
    }
}

/* WhatsApp phone (intl-tel-input) — keep plugin padding for flag + dial code */
.auth-field--phone .auth-phone-wrap {
    display: block;
    width: 100%;
}

.auth-field--phone .auth-phone-hint {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #71717a;
}

.auth-modern-body .auth-field--phone .iti {
    display: block;
    width: 100%;
}

.auth-modern-body .auth-field--phone .iti input.iti__tel-input,
.auth-modern-body .auth-field--phone .iti input.form-control {
    height: 3.25rem !important;
    min-height: 3.25rem;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #18181b !important;
    -webkit-text-fill-color: #18181b;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1.5px solid #d4d4d8 !important;
    border-radius: 12px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    padding-right: 1rem !important;
    /* padding-left: set by intl-tel-input (flag + separate dial code) — never override */
}

.auth-modern-body .auth-field--phone .iti input.iti__tel-input:hover {
    border-color: #a1a1aa !important;
    background-color: #fafafa !important;
}

.auth-modern-body .auth-field--phone .iti input.iti__tel-input:focus {
    background-color: #ffffff !important;
    border-color: var(--auth-brand, #25d366) !important;
    box-shadow: 0 0 0 4px rgba(var(--auth-brand-rgb, 37, 211, 102), 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    outline: none !important;
}

.auth-modern-body .auth-field--phone .iti__country-container {
    left: 1px;
}

.auth-modern-body .auth-field--phone .iti__selected-country-primary {
    height: 100%;
    border-radius: 10px 0 0 10px;
}

.auth-modern-body .auth-field--phone .iti__selected-dial-code {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #3f3f46;
}

/* Social login buttons */
.auth-modern-body .auth-social-row .btn {
    background: #fff !important;
    border: 1.5px solid #e4e4e7 !important;
    color: #18181b !important;
}

.auth-modern-body .form-check-input {
    border: 1.5px solid #d4d4d8;
}

.auth-modern-body .form-check-label {
    color: #3f3f46 !important;
}

.auth-validation-errors {
    margin-bottom: 1rem !important;
}
