/* =====================================
   LADLI LIFE CHAT - AUTH PAGES
===================================== */

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 5% 45%, #fff0e1, transparent 45%),
        radial-gradient(ellipse at 95% 80%, #f4eaff, transparent 40%),
        #fffaf7;
}

/* Keep header fixed at the top while scrolling */

.auth-page .header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.auth-page .header-inner {
    min-height: 78px;
}

.auth-main {
    min-height: calc(100vh - 145px);
    display: flex;
    align-items: center;
    padding: 55px 0;
}

.auth-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    align-items: center;
    gap: 75px;
}


/* LEFT WELCOME SECTION */

.auth-welcome {
    max-width: 510px;
}

.auth-eyebrow {
    display: inline-flex;
    padding: 9px 15px;
    border-radius: 50px;
    background: #ffeadb;
    color: #d84b15;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.auth-welcome h1 {
    margin-top: 25px;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.22;
    letter-spacing: -1.5px;
}

.auth-welcome > p {
    margin-top: 20px;
    max-width: 460px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
}

.auth-benefits {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-icon {
    width: 49px;
    height: 49px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(35, 24, 60, 0.06);
    font-size: 22px;
}

.benefit-item div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.benefit-item strong {
    font-size: 14px;
}

.benefit-item small {
    color: var(--muted);
    font-size: 12px;
}

.auth-quote {
    margin-top: 35px;
    padding: 16px 18px;
    border-left: 3px solid var(--orange);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.75);
    color: var(--text);
    font-size: 13px;
}


/* LOGIN CARD */

.auth-card {
    width: 100%;
    padding: 37px;
    border: 1px solid rgba(238, 232, 229, 0.9);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 65px rgba(40, 25, 65, 0.09);
}

.auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.auth-logo img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.auth-card h2 {
    margin-top: 8px;
    font-size: 29px;
    letter-spacing: -0.6px;
}

.auth-card-description {
    margin-top: 9px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.auth-card form label {
    display: block;
    margin-bottom: 9px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 650;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid #e7e4ec;
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrapper:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.1);
}

.input-icon {
    color: var(--muted);
    font-size: 17px;
}

.input-wrapper input {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--navy);
    font-size: 14px;
}

.input-wrapper input::placeholder {
    color: #a4a5b4;
}

.auth-submit {
    width: 100%;
    margin-top: 22px;
    min-height: 51px;
    border: none;
    font-size: 14px;
}

.auth-helper {
    margin-top: 14px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 24px 0;
    color: #a0a0af;
    font-size: 11px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.admin-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 10px;
    border: 1px solid #eee5ff;
    border-radius: 12px;
    background: #faf7ff;
    color: var(--text);
    font-size: 12px;
}

.admin-switch strong {
    color: var(--purple);
}

.auth-legal {
    margin-top: 22px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.9;
    text-align: center;
}

.auth-legal a,
.auth-back-link {
    color: var(--orange-dark);
    font-weight: 650;
}

.auth-back-link {
    display: block;
    margin-top: 18px;
    font-size: 12px;
    text-align: center;
}


/* OTP PREVIEW */

.otp-symbol {
    width: 57px;
    height: 57px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: #fff0df;
    font-size: 25px;
}

#otpStep {
    text-align: center;
}

#otpStep form {
    text-align: left;
}

#otpStep .auth-card-description {
    overflow-wrap: anywhere;
}

.otp-input {
    width: 100%;
    min-height: 58px;
    padding: 12px;
    border: 1px solid #e7e4ec;
    border-radius: 12px;
    outline: none;
    text-align: center;
    letter-spacing: 12px;
    font-size: 25px;
    font-weight: 750;
}

.otp-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 121, 0, 0.1);
}

.text-button {
    display: block;
    margin: 15px auto 0;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--purple);
    font-size: 12px;
    font-weight: 650;
}


/* FOOTER */

.auth-footer {
    padding: 20px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}


/* TABLET */

@media (max-width: 900px) {
    .auth-container {
        grid-template-columns: 1fr 0.95fr;
        gap: 30px;
    }

    .auth-card {
        padding: 28px;
    }

    .auth-welcome h1 {
        font-size: 38px;
    }
}


/* MOBILE */

@media (max-width: 680px) {
    .auth-main {
        min-height: auto;
        padding: 28px 0 38px;
    }

    .auth-container {
        width: min(460px, calc(100% - 28px));
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .auth-welcome {
        text-align: center;
    }

    .auth-welcome h1 {
        margin-top: 17px;
        font-size: 34px;
    }

    .auth-welcome > p {
        margin: 13px auto 0;
        font-size: 13px;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
        gap: 13px;
        text-align: left;
        margin-top: 22px;
    }

    .benefit-icon {
        width: 43px;
        height: 43px;
    }

    .auth-quote {
        margin-top: 22px;
        font-size: 12px;
        text-align: left;
    }

    .auth-card {
        padding: 27px 22px;
        border-radius: 21px;
    }

    .auth-card h2 {
        font-size: 26px;
    }

    .auth-logo img {
        width: 66px;
        height: 66px;
    }

    .auth-page .header-inner {
        min-height: 67px;
    }

    .back-home {
        min-height: 37px;
        padding: 7px 11px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .auth-welcome h1 {
        font-size: 30px;
    }

    .auth-card {
        padding: 23px 17px;
    }

    .otp-input {
        letter-spacing: 8px;
    }
}



/* =========================================
   LADLI LIFE CHAT - ADMIN LOGIN PAGE
   Added styles: September 2026
========================================= */

.admin-auth-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 10% 15%, rgba(245, 124, 0, 0.10), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(124, 58, 237, 0.09), transparent 30%),
        #f8fafc;
    color: #182230;
    font-family: 'Inter', Arial, sans-serif;
}

.admin-auth-page *,
.admin-auth-page *::before,
.admin-auth-page *::after {
    box-sizing: border-box;
}

.admin-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e8edf3;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.admin-header-inner {
    width: min(1120px, calc(100% - 40px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #182230;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
}

.admin-brand img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.admin-brand strong {
    color: #f57c00;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #5b6472;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.admin-back-link:hover,
.admin-home-link:hover,
.admin-help-link:hover {
    color: #e66e00;
}

.admin-login-main {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.admin-login-card {
    width: 100%;
    max-width: 455px;
    padding: 38px;
    border: 1px solid #e9edf3;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(26, 36, 55, 0.08);
}

.admin-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff0dc, #fce7f3);
    color: #e66e00;
    font-size: 34px;
}

.admin-heading {
    text-align: center;
}

.admin-eyebrow {
    color: #e66e00;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.admin-heading h1 {
    margin: 10px 0 8px;
    color: #172033;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -0.8px;
}

.admin-heading p {
    margin: 0;
    color: #778092;
    font-size: 14px;
    line-height: 1.6;
}

.admin-security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 25px 0;
    padding: 13px 14px;
    border: 1px solid #ffdfb4;
    border-radius: 12px;
    background: #fff9f0;
    color: #86500c;
    font-size: 12px;
    line-height: 1.6;
}

.admin-security-note > span:first-child {
    flex-shrink: 0;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.admin-field label {
    display: block;
    margin-bottom: 8px;
    color: #293345;
    font-size: 13px;
    font-weight: 700;
}

.admin-input-wrap {
    min-height: 51px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 13px;
    border: 1px solid #dfe5ed;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-input-wrap:focus-within {
    border-color: #f57c00;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.10);
}

.admin-input-icon {
    color: #929aaa;
    font-size: 17px;
}

.admin-input-wrap input {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 0;
    outline: none;
    background: transparent;
    color: #182230;
    font: inherit;
    font-size: 13px;
}

.admin-input-wrap input::placeholder {
    color: #a0a8b5;
}

.admin-password-toggle {
    padding: 7px 0 7px 7px;
    border: 0;
    background: transparent;
    color: #e66e00;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.admin-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: -3px;
}

.admin-remember {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #697386;
    font-size: 12px;
    cursor: pointer;
}

.admin-remember input {
    accent-color: #f57c00;
}

.admin-help-link {
    color: #e66e00;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.admin-submit-btn {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #f57c00, #ff982b);
    box-shadow: 0 8px 18px rgba(245, 124, 0, 0.20);
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.admin-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(245, 124, 0, 0.27);
}

.admin-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.admin-login-message {
    display: none;
    margin: -5px 0 0;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.5;
}

.admin-login-message.show {
    display: block;
}

.admin-login-message.info {
    background: #eff6ff;
    color: #1d4ed8;
}

.admin-login-message.error {
    background: #fef2f2;
    color: #b91c1c;
}

.admin-divider {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 26px 0 18px;
    color: #a1a8b4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.admin-divider::before,
.admin-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #edf0f4;
}

.admin-home-link {
    display: block;
    color: #657083;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.admin-login-footer {
    margin: 20px 0 0;
    color: #9aa2af;
    text-align: center;
    font-size: 10px;
    line-height: 1.6;
}

.admin-page-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 20px;
    color: #8992a1;
    font-size: 11px;
    text-align: center;
}

.admin-page-footer p {
    margin: 0;
}

.admin-page-footer div {
    display: flex;
    gap: 9px;
}

.admin-page-footer a {
    color: #727c8d;
    text-decoration: none;
}

.admin-page-footer a:hover {
    color: #e66e00;
}

@media (max-width: 520px) {
    .admin-header-inner {
        width: calc(100% - 28px);
        min-height: 66px;
    }

    .admin-brand {
        gap: 8px;
        font-size: 15px;
    }

    .admin-brand img {
        width: 36px;
        height: 36px;
    }

    .admin-back-link {
        font-size: 12px;
    }

    .admin-login-main {
        padding: 28px 14px;
    }

    .admin-login-card {
        padding: 27px 21px;
        border-radius: 20px;
    }

    .admin-heading h1 {
        font-size: 25px;
    }

    .admin-page-footer {
        padding: 16px 12px;
    }
}