/* =========================================================
   SXPO INDIA
   ACCOUNT PASSWORD / RECOVERY
   Light Professional Enterprise Theme
========================================================= */

:root {
    --password-primary: #2563eb;
    --password-primary-dark: #1d4ed8;
    --password-primary-light: #eff6ff;
    --password-heading: #172033;
    --password-text: #334155;
    --password-muted: #64748b;
    --password-muted-light: #94a3b8;
    --password-page-bg: #eef2f7;
    --password-surface: #ffffff;
    --password-border: #dfe7ef;
    --password-border-light: #e8edf3;
    --password-success: #16a34a;
    --password-danger: #dc2626;
}


/* =========================================================
   PAGE
========================================================= */

.sxpo-password-page {
    min-height: 100vh;
    margin: 0;
    background: var(--password-page-bg);
    color: var(--password-text);
    font-family: var( --sxpo-font-family, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif );
}


/* =========================================================
   TWO COLUMN LAYOUT
========================================================= */

.password-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(440px, .75fr);
}


/* =========================================================
   LEFT PANEL
========================================================= */

.password-platform-panel {
    display: flex;
    padding: 52px clamp(48px, 7vw, 120px);
    background: linear-gradient( 145deg, #edf4ff 0%, #f7faff 55%, #edf2f8 100% );
    border-right: 1px solid #dbe3ec;
}

.password-platform-content {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
}


/* =========================================================
   BRAND
========================================================= */

.password-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.password-brand-logo,
.password-success-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    border-radius: 12px;
    background: linear-gradient( 135deg, #1d4ed8, #3b82f6 );
    box-shadow: 0 10px 22px rgba(37, 99, 235, .20);
}

    .password-brand-logo span,
    .password-success-logo span {
        color: #fff;
        font-size: 23px;
        font-weight: 800;
    }

.password-brand-name {
    color: var(--password-heading);
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -.25px;
}

.password-brand-subtitle {
    margin-top: 3px;
    color: var(--password-muted);
    font-size: 11px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.password-platform-main {
    margin: auto 0;
}

.password-platform-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
    padding: 8px 13px;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    color: var(--password-primary);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1px;
}

.password-platform-main h1 {
    max-width: 620px;
    margin: 0 0 16px;
    color: var(--password-heading);
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.1;
    letter-spacing: -1.8px;
    font-weight: 750;
}

    .password-platform-main h1 span {
        display: block;
        color: var(--password-primary);
    }

.password-platform-main > p {
    max-width: 570px;
    margin: 0;
    color: var(--password-muted);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   SECURITY POINTS
========================================================= */

.password-security-points {
    max-width: 570px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 32px;
}

.password-security-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid #dbe4ee;
    border-radius: 12px;
    background: rgba(255,255,255,.65);
}

.password-point-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--password-primary-light);
    color: var(--password-primary);
}

.password-security-point strong,
.password-security-point span {
    display: block;
}

.password-security-point strong {
    color: #1e293b;
    font-size: 11px;
    font-weight: 700;
}

.password-security-point span {
    margin-top: 3px;
    color: var(--password-muted);
    font-size: 10px;
    line-height: 1.55;
}


/* =========================================================
   LEFT FOOTER
========================================================= */

.password-platform-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--password-muted-light);
    font-size: 10px;
}


/* =========================================================
   RIGHT PANEL
========================================================= */

.password-form-panel {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    background: #f8fafc;
}

.password-form-container {
    width: 100%;
    max-width: 440px;
}


/* =========================================================
   MOBILE BRAND
========================================================= */

.password-mobile-brand {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}

    .password-mobile-brand strong,
    .password-mobile-brand span {
        display: block;
    }

    .password-mobile-brand strong {
        color: var(--password-heading);
        font-size: 15px;
    }

    .password-mobile-brand span {
        margin-top: 2px;
        color: var(--password-muted);
        font-size: 10px;
    }


/* =========================================================
   HEADING
========================================================= */

.password-heading {
    margin-bottom: 25px;
}

.password-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: var(--password-primary);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.2px;
}

.password-heading h2,
.password-heading h1 {
    margin: 0;
    color: var(--password-heading);
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -.8px;
    font-weight: 750;
}

.password-heading p {
    margin: 9px 0 0;
    color: var(--password-muted);
    font-size: 12px;
    line-height: 1.65;
}


/* =========================================================
   CARD
========================================================= */

.password-card {
    padding: 28px;
    border: 1px solid var(--password-border);
    border-radius: 16px;
    background: var(--password-surface);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}


/* =========================================================
   FORM
========================================================= */

.password-field {
    margin-bottom: 20px;
}

    .password-field > label {
        display: block;
        margin-bottom: 7px;
        color: #344054;
        font-size: 11px;
        font-weight: 650;
    }

.password-input-wrapper {
    position: relative;
}

    .password-input-wrapper > i {
        position: absolute;
        z-index: 2;
        top: 50%;
        left: 14px;
        transform: translateY(-50%);
        color: #98a2b3;
        font-size: 14px;
        pointer-events: none;
    }

.password-input {
    width: 100%;
    min-height: 45px;
    padding-left: 40px;
    border: 1px solid #d7dee8;
    border-radius: 9px;
    color: #1f2937;
    font-size: 12px;
    box-shadow: none;
}

    .password-input::placeholder {
        color: #a0a9b6;
    }

    .password-input:focus {
        border-color: #7aa2f8;
        box-shadow: 0 0 0 3px rgba(37,99,235,.09);
    }

.password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #667085;
    cursor: pointer;
}

    .password-toggle:hover {
        background: #f2f4f7;
        color: var(--password-primary);
    }

.password-field-validation {
    display: block;
    margin-top: 5px;
    color: var(--password-danger);
    font-size: 10px;
}

.password-validation-summary {
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid #fecdca;
    border-radius: 8px;
    background: #fff6f5;
    color: #b42318;
    font-size: 11px;
}

    .password-validation-summary:empty {
        display: none;
    }


/* =========================================================
   SUBMIT
========================================================= */

.password-submit {
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: var(--password-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 650;
    box-shadow: 0 7px 16px rgba(37,99,235,.18);
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

    .password-submit:hover {
        background: var(--password-primary-dark);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 9px 20px rgba(37,99,235,.22);
    }

    .password-submit:disabled {
        opacity: .7;
        cursor: not-allowed;
        transform: none;
    }

.password-submit-text,
.password-submit-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* =========================================================
   BACK LINK
========================================================= */

.password-back-link {
    margin-top: 18px;
    text-align: center;
}

    .password-back-link a {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: var(--password-muted);
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
    }

        .password-back-link a:hover {
            color: var(--password-primary);
        }


/* =========================================================
   SECURITY NOTE
========================================================= */

.password-security-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 12px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
}

.password-security-note-icon {
    color: var(--password-primary);
    font-size: 14px;
}

.password-security-note strong,
.password-security-note span {
    display: block;
}

.password-security-note strong {
    color: #344054;
    font-size: 10px;
}

.password-security-note span {
    margin-top: 3px;
    color: var(--password-muted);
    font-size: 9px;
    line-height: 1.5;
}


/* =========================================================
   FOOTER
========================================================= */

.password-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--password-border-light);
    color: var(--password-muted-light);
    font-size: 9px;
}

.password-footer-centered {
    justify-content: center;
}


/* =========================================================
   SINGLE PAGE
========================================================= */

.password-single-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.password-single-container,
.password-reset-container {
    width: 100%;
    max-width: 555px;
    text-align: center;
}

.password-success-logo {
    margin: 0 auto 22px;
}

.password-success-icon,
.password-error-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
}

.password-success-icon {
    background: #ecfdf3;
    color: var(--password-success);
}

.password-error-icon {
    background: #fff6f5;
    color: var(--password-danger);
}

.password-single-heading {
    margin-bottom: 25px;
}

    .password-single-heading h1 {
        margin: 0;
        color: var(--password-heading);
        font-size: 30px;
        letter-spacing: -.8px;
        font-weight: 750;
    }

    .password-single-heading p {
        max-width: 600px;
        margin: 10px auto 0;
        color: var(--password-muted);
        font-size: 17px;
        line-height: 1.7;
    }


/* =========================================================
   SUCCESS / INFO
========================================================= */

.password-email-help,
.password-success-message {
    margin-bottom: 24px;
    padding: 13px 15px;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
    background: #fff;
    text-align: left;
}

    .password-email-help div,
    .password-success-message {
        display: flex;
        align-items: flex-start;
        gap: 9px;
    }

        .password-email-help div + div {
            margin-top: 9px;
        }

        .password-email-help i,
        .password-success-message i {
            margin-top: 1px;
            color: var(--password-primary);
            font-size: 13px;
        }

        .password-email-help span,
        .password-success-message span {
            color: var(--password-muted);
            font-size: 15px;
            line-height: 1.5;
        }


/* =========================================================
   ACTION BUTTONS
========================================================= */

.password-success-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.password-primary-button,
.password-secondary-button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
}

.password-primary-button {
    background: var(--password-primary);
    color: #fff;
}

    .password-primary-button:hover {
        background: var(--password-primary-dark);
        color: #fff;
    }

.password-secondary-button {
    border: 1px solid #d7dee8;
    background: #fff;
    color: #475467;
}

    .password-secondary-button:hover {
        border-color: #b8c3d1;
        background: #f9fafb;
        color: #344054;
    }


/* =========================================================
   RESET PAGE
========================================================= */

.password-reset-container {
    max-width: 440px;
}

.password-heading-centered {
    text-align: center;
}

.password-reset-card {
    text-align: left;
}

.password-guidance {
    margin: -4px 0 20px;
    padding: 11px 12px;
    border: 1px solid #dbe7ff;
    border-radius: 9px;
    background: #f8fbff;
}

.password-guidance-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #344054;
    font-size: 10px;
}

    .password-guidance-title i {
        color: var(--password-primary);
    }

.password-guidance-text {
    margin-top: 4px;
    color: var(--password-muted);
    font-size: 9px;
    line-height: 1.5;
}

.password-reset-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 16px;
    color: var(--password-muted-light);
    font-size: 9px;
}

    .password-reset-security i {
        color: var(--password-primary);
    }


/* =========================================================
   DANGER EYEBROW
========================================================= */

.password-eyebrow-danger {
    color: var(--password-danger);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .password-layout {
        grid-template-columns: 1fr;
    }

    .password-platform-panel {
        display: none;
    }

    .password-form-panel {
        min-height: 100vh;
        padding: 48px 24px;
    }

    .password-mobile-brand {
        display: flex;
    }
}


@media (max-width: 576px) {

    .password-form-panel {
        padding: 28px 16px;
    }

    .password-card {
        padding: 24px 20px;
        border-radius: 14px;
    }

    .password-heading h2,
    .password-heading h1 {
        font-size: 28px;
    }

    .password-single-layout {
        padding: 28px 16px;
    }

    .password-single-heading h1 {
        font-size: 27px;
    }

    .password-success-actions {
        flex-direction: column;
    }

    .password-primary-button,
    .password-secondary-button {
        width: 100%;
    }

    .password-footer {
        flex-direction: column;
        gap: 5px;
    }
}

.d-none {
    display: none;
}
