﻿/* ═══════════════════════════════════════════════════
   BridgeX Auth Pages — Shared Stylesheet
   Depends on: variables.css, reset.css (loaded before this)
   Font import moved to common.css
   ═══════════════════════════════════════════════════ */

/* REMOVED: @import for fonts — now in common.css */
/* REMOVED: .ef-content duplicate — defined in app-shell.css */

/* ── LAYOUT ROOT ── */
.lp-root {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-family: var(--font-sans);
    background: var(--clr-black);
    margin: -20px;
}

/* ── LEFT BRAND PANEL ── */
.lp-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 56px;
    overflow: hidden;
    background: var(--clr-black);
}

    .lp-brand::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: linear-gradient(var(--clr-cyan-a08) 1px, transparent 1px), linear-gradient(90deg, var(--clr-cyan-a08) 1px, transparent 1px);
        background-size: 48px 48px;
        pointer-events: none;
    }

    .lp-brand::after {
        content: '';
        position: absolute;
        right: -160px;
        top: 50%;
        transform: translateY(-50%);
        width: 480px;
        height: 480px;
        border-radius: 50%;
        border: 1px solid var(--clr-cyan-a15);
        pointer-events: none;
    }

.lp-brand-inner-circle {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid var(--clr-green-a10);
    pointer-events: none;
}

/* ── LOGO ── */
.lp-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    animation: fadeUp .6s var(--ease) both;
}

    .lp-logo img {
        height: 100px;
        width: auto;
    }

.lp-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-cyan-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 18px;
    color: var(--clr-white);
}

.lp-logo-name {
    font-family: var(--font-sans);
    font-size: 22px;
    font-weight: 700;
    color: var(--clr-white);
    letter-spacing: .5px;
}

    .lp-logo-name span {
        color: var(--clr-cyan);
    }

/* ── BRAND BODY ── */
.lp-brand-body {
    position: relative;
    z-index: 1;
    animation: fadeUp .6s var(--ease) .1s both;
}

.lp-brand-tag {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--clr-cyan-a35);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-cyan);
    margin-bottom: 28px;
}

.lp-brand-headline {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-white);
    margin-bottom: 22px;
}

    .lp-brand-headline em {
        font-style: italic;
        color: var(--clr-green);
    }

.lp-brand-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--clr-muted);
    max-width: 360px;
}

/* ── BRAND FOOTER / STATS ── */
.lp-brand-footer {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    animation: fadeUp .6s var(--ease) .2s both;
}

.lp-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lp-stat-num {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--clr-white);
}

.lp-stat-label {
    font-size: 12px;
    color: var(--clr-muted);
    letter-spacing: .5px;
}

/* ── BRAND STEPS ── */
.lp-brand-steps {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeUp .6s var(--ease) .2s both;
}

.lp-brand-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.lp-brand-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--clr-cyan-a35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--clr-cyan);
    flex-shrink: 0;
}

    .lp-brand-step-num.is-done {
        background: var(--clr-cyan-a15);
    }

.lp-brand-step-text {
    padding-top: 4px;
}

.lp-brand-step-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: 2px;
}

    .lp-brand-step-title.is-done {
        color: var(--clr-cyan-light);
    }

.lp-brand-step-sub {
    font-size: 12px;
    color: var(--clr-muted);
    line-height: 1.5;
}

/* ── RIGHT FORM PANEL ── */
.lp-form-panel {
    background: var(--clr-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
    position: relative;
    overflow-y: auto;
}

    .lp-form-panel::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle, var(--clr-black-a04) 1px, transparent 1px);
        background-size: 24px 24px;
        pointer-events: none;
    }

.lp-form-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    animation: fadeUp .6s var(--ease) .15s both;
}

/* ── BACK LINK ── */
.lp-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--clr-muted);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color var(--t-med);
}

    .lp-back:hover {
        color: var(--clr-text);
    }

    .lp-back svg {
        width: 14px;
        height: 14px;
    }

/* ── FORM HEADER ── */
.lp-rule {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-green));
    border-radius: 2px;
    margin-bottom: 18px;
}

.lp-form-header {
    margin-bottom: 28px;
}

    .lp-form-header h2 {
        font-family: var(--font-serif);
        font-size: 30px;
        font-weight: 700;
        color: var(--clr-text);
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .lp-form-header p {
        font-size: 14px;
        color: var(--clr-muted);
        line-height: 1.6;
    }

/* ── STEP PROGRESS BAR ── */
.lp-progress {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.lp-progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

    .lp-progress-item:not(:last-child)::after {
        content: '';
        flex: 1;
        height: 1.5px;
        background: var(--clr-border);
        margin: 0 6px;
        transition: background var(--t-med);
    }

    .lp-progress-item.is-done:not(:last-child)::after {
        background: var(--clr-cyan);
    }

.lp-progress-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid var(--clr-border);
    color: var(--clr-muted);
    background: var(--clr-surface);
    flex-shrink: 0;
    transition: all var(--t-med) var(--ease);
}

.lp-progress-item.is-active .lp-progress-dot {
    border-color: var(--clr-cyan);
    color: var(--clr-cyan);
    box-shadow: 0 0 0 3px var(--clr-cyan-a15);
}

.lp-progress-item.is-done .lp-progress-dot {
    background: var(--clr-cyan);
    border-color: var(--clr-cyan);
    color: var(--clr-white);
}

.lp-progress-label {
    font-size: 11px;
    color: var(--clr-muted);
    font-weight: 500;
    white-space: nowrap;
}

.lp-progress-item.is-active .lp-progress-label,
.lp-progress-item.is-done .lp-progress-label {
    color: var(--clr-text);
    font-weight: 600;
}

/* ── FORM FIELDS ── */
.lp-field {
    margin-bottom: 12px;
}

    .lp-field label {
        display: block;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--clr-muted);
        margin-bottom: 6px;
    }

.lp-input-wrap {
    position: relative;
}

.lp-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-subtle);
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: color var(--t-med) var(--ease);
}

.lp-input {
    width: 100%;
    height: var(--auth-input-height);
    padding: 0 16px 0 44px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-size: 14.5px;
    color: var(--clr-text);
    background: var(--clr-surface);
    outline: none;
    transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

    .lp-input::placeholder {
        color: var(--clr-subtle);
    }

    .lp-input:focus {
        border-color: var(--clr-cyan);
        box-shadow: 0 0 0 4px var(--clr-cyan-a12);
    }

        .lp-input:focus + .lp-input-icon,
        .lp-input-wrap:focus-within .lp-input-icon {
            color: var(--clr-cyan);
        }

/* ── PASSWORD TOGGLE ── */
.lp-pw-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-muted);
    display: flex;
    align-items: center;
    padding: 4px;
    transition: color var(--t-med);
}

    .lp-pw-toggle:hover {
        color: var(--clr-text);
    }

/* ── PHONE INPUT ── */
.lp-phone-wrap {
    display: flex;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-xl);
    overflow: visible;
    background: var(--clr-surface);
    transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

    .lp-phone-wrap:focus-within {
        border-color: var(--clr-cyan);
        box-shadow: 0 0 0 4px var(--clr-cyan-a12);
    }

.lp-phone-prefix {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-right: 1.5px solid var(--clr-border);
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-text);
    background: var(--clr-bg);
    white-space: nowrap;
    flex-shrink: 0;
}

.lp-phone-flag {
    font-size: 18px;
    line-height: 1;
}

.lp-phone-input {
    flex: 1;
    height: var(--auth-input-height);
    padding: 0 16px;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--clr-text);
    background: transparent;
    letter-spacing: .5px;
}

    .lp-phone-input::placeholder {
        color: var(--clr-subtle);
        font-size: 14px;
        letter-spacing: 0;
    }

/* ── SELECT ── */
.lp-select {
    width: 100%;
    height: var(--auth-input-height);
    padding: 0 36px 0 14px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--clr-text);
    background: var(--clr-surface);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
    transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

    .lp-select:focus {
        outline: none;
        border-color: var(--clr-cyan);
        box-shadow: 0 0 0 4px var(--clr-cyan-a12);
    }

/* ── VALIDATION ── */
.lp-validation {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--clr-danger);
}

.lp-validation-msg {
    display: block;
    margin-bottom: 16px;
    font-size: 12px;
    color: var(--clr-danger);
    min-height: 16px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background-color: var(--clr-danger-a07);
    border-left: 3px solid var(--clr-danger);
    animation: slideIn .3s ease-out;
}

    .lp-validation-msg:empty {
        display: none;
    }

/* ── ALERTS ── */
.lp-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 24px;
    border-radius: var(--radius-xl);
    border-left: 4px solid transparent;
    animation: slideDown var(--t-med) var(--ease);
}

    .lp-alert--error,
    .lp-alert.error {
        background-color: var(--clr-danger-a07);
        border-left-color: var(--clr-danger);
        color: var(--clr-danger-text);
    }

    .lp-alert.success {
        background-color: var(--clr-green-pale);
        border-left-color: var(--clr-green);
        color: var(--clr-green-text);
    }

    .lp-alert.warning {
        background-color: var(--clr-warning-a07);
        border-left-color: var(--clr-warning);
        color: var(--clr-warning-text);
    }

.lp-alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lp-alert-icon svg {
        width: 20px;
        height: 20px;
    }

.lp-alert-content {
    flex: 1;
    min-width: 0;
    gap: 12px;
    align-items: flex-start;
}

.lp-alert-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.lp-alert-message {
    font-size: 13px;
    line-height: 1.5;
    color: var(--clr-muted);
}

    .lp-alert-message p {
        margin: 0;
    }

.lp-alert-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    color: var(--clr-muted);
    transition: color var(--t-fast);
}

    .lp-alert-close svg {
        width: 18px;
        height: 18px;
    }

/* ── LOGIN EXTRAS ── */
.lp-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.lp-remember {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    user-select: none;
}

    .lp-remember input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border: 1.5px solid var(--clr-border);
        border-radius: var(--radius-sm);
        background: var(--clr-surface);
        cursor: pointer;
        position: relative;
        transition: border-color var(--t-fast), background var(--t-fast);
        flex-shrink: 0;
    }

        .lp-remember input[type="checkbox"]:checked {
            background: var(--clr-cyan);
            border-color: var(--clr-cyan);
        }

            .lp-remember input[type="checkbox"]:checked::after {
                content: '';
                position: absolute;
                left: 4px;
                top: 1px;
                width: 6px;
                height: 10px;
                border: 2px solid white;
                border-top: none;
                border-left: none;
                transform: rotate(45deg);
            }

.lp-remember-label {
    font-size: 13px;
    color: var(--clr-muted);
}

.lp-forgot {
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-cyan);
    text-decoration: none;
    transition: color var(--t-med) var(--ease);
}

    .lp-forgot:hover {
        color: var(--clr-cyan-dark);
    }

/* ── DIVIDER ── */
.lp-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .lp-divider::before,
    .lp-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--clr-border);
    }

    .lp-divider span {
        font-size: 11px;
        color: var(--clr-subtle);
        white-space: nowrap;
        letter-spacing: .5px;
        text-transform: uppercase;
    }

/* ── ALT LOGIN ── */
.lp-alt-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.lp-alt-login-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--clr-text);
    text-decoration: none;
    padding: 10px 20px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-xl);
    width: 100%;
    justify-content: center;
    background: var(--clr-surface);
    transition: border-color var(--t-med) var(--ease), color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}

    .lp-alt-login-link:hover {
        border-color: var(--clr-cyan);
        color: var(--clr-cyan);
        box-shadow: 0 2px 12px var(--clr-cyan-a12);
    }

    .lp-alt-login-link svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

.lp-wa-dot {
    width: 8px;
    height: 8px;
    background: var(--clr-wa-green);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── WHATSAPP BANNER ── */
.lp-wa-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--clr-wa-a08);
    border: 1px solid var(--clr-wa-a25);
    border-radius: var(--radius-xl);
    padding: 14px 16px;
    margin-bottom: 28px;
}

.lp-wa-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--clr-wa-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .lp-wa-banner-icon svg {
        width: 18px;
        height: 18px;
        fill: white;
    }

.lp-wa-banner-text {
    flex: 1;
}

.lp-wa-banner-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-wa-title);
    margin-bottom: 2px;
}

.lp-wa-banner-desc {
    font-size: 12px;
    color: var(--clr-wa-desc);
    line-height: 1.5;
}

/* ── METHOD SELECTION CARDS ── */
.lp-method-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: 12px;
}

.lp-method-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.lp-method-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg);
    background: var(--clr-surface);
    cursor: pointer;
    transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
    user-select: none;
}

    .lp-method-card:hover {
        border-color: var(--clr-subtle);
        box-shadow: 0 2px 8px var(--clr-black-a06);
    }

    .lp-method-card input[type="radio"] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .lp-method-card.is-selected {
        border-color: var(--clr-cyan);
        background: var(--clr-cyan-pale);
        box-shadow: 0 0 0 4px var(--clr-cyan-a10);
    }

.lp-method-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform var(--t-med) var(--ease);
}

.lp-method-card:hover .lp-method-icon {
    transform: scale(1.08);
}

.lp-method-icon--user {
    background: var(--clr-black-a06);
}

.lp-method-icon--email {
    background: var(--clr-cyan-a10);
}

.lp-method-icon--mobile {
    background: var(--clr-wa-a10);
}

.lp-method-icon svg {
    width: 20px;
    height: 20px;
}

.lp-method-icon--user svg {
    stroke: var(--clr-text);
}

.lp-method-icon--email svg {
    stroke: var(--clr-cyan);
}

.lp-method-icon--mobile svg {
    stroke: var(--clr-wa-green);
}

.lp-method-text {
    flex: 1;
}

.lp-method-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 2px;
}

.lp-method-sub {
    font-size: 12px;
    color: var(--clr-muted);
}

.lp-method-radio-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--t-fast), background var(--t-fast);
}

.lp-method-card.is-selected .lp-method-radio-indicator {
    border-color: var(--clr-cyan);
    background: var(--clr-cyan);
}

.lp-method-radio-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity var(--t-fast);
}

.lp-method-card.is-selected .lp-method-radio-indicator::after {
    opacity: 1;
}

/* ── DELIVERY NOTE ── */
.lp-delivery-note {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--clr-cyan-pale);
    border: 1px solid var(--clr-cyan-a20);
    border-radius: var(--radius-md);
    font-size: 12.5px;
    color: var(--clr-cyan-text);
    margin-bottom: 20px;
    animation: fadeUp .3s var(--ease) both;
}

    .lp-delivery-note.is-visible {
        display: flex;
    }

    .lp-delivery-note svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        stroke: var(--clr-cyan);
    }

/* ── SENT-TO CARD ── */
.lp-sent-to {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 14px 16px;
    margin-bottom: 28px;
}

.lp-sent-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-sent-icon--email {
    background: var(--clr-cyan-pale);
}

.lp-sent-icon--wa {
    background: var(--clr-wa-green);
}

.lp-sent-icon--email svg {
    width: 18px;
    height: 18px;
    stroke: var(--clr-cyan);
}

.lp-sent-icon--wa svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.lp-sent-to-wa {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--clr-wa-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .lp-sent-to-wa svg {
        width: 16px;
        height: 16px;
        fill: white;
    }

.lp-sent-info,
.lp-sent-to-info {
    flex: 1;
}

.lp-sent-label,
.lp-sent-to-label {
    font-size: 11px;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 600;
}

.lp-sent-value,
.lp-sent-to-number {
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-text);
    letter-spacing: .3px;
    margin-top: 2px;
}

.lp-sent-change,
.lp-sent-to-change {
    font-size: 12px;
    color: var(--clr-cyan);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

    .lp-sent-change:hover,
    .lp-sent-to-change:hover {
        color: var(--clr-cyan-dark);
    }

/* ── OTP BOXES ── */
.lp-otp-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: 14px;
    display: block;
}

.lp-otp-boxes {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.lp-otp-box {
    flex: 1;
    height: 60px;
    width: 10px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-lg);
    background: var(--clr-surface);
    text-align: center;
    font-family: var(--font-sans);
    font-size: 26px;
    font-weight: 700;
    color: var(--clr-text);
    outline: none;
    caret-color: var(--clr-cyan);
    transition: border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-fast) var(--ease);
    -moz-appearance: textfield;
}

    .lp-otp-box::-webkit-inner-spin-button,
    .lp-otp-box::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

    .lp-otp-box:focus {
        border-color: var(--clr-cyan);
        box-shadow: 0 0 0 4px var(--clr-cyan-a14);
        transform: translateY(-2px);
    }

    .lp-otp-box.is-filled {
        border-color: var(--clr-text);
        background: var(--clr-cyan-pale);
    }

    .lp-otp-box.is-error {
        border-color: var(--clr-danger) !important;
        box-shadow: 0 0 0 3px var(--clr-danger-a12) !important;
        background: var(--clr-danger-a04);
    }

.lp-otp-boxes.shake {
    animation: shake .4s var(--ease);
}

/* ── OTP META ── */
.lp-otp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    min-height: 22px;
}

.lp-timer {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--clr-muted);
}

    .lp-timer svg {
        width: 13px;
        height: 13px;
    }

.lp-timer-count {
    font-weight: 600;
    color: var(--clr-text);
    font-variant-numeric: tabular-nums;
    min-width: 32px;
}

.lp-timer.is-expired .lp-timer-count {
    color: var(--clr-danger);
}

.lp-resend-btn {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--clr-cyan);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: none;
    transition: color var(--t-med);
}

    .lp-resend-btn:hover {
        color: var(--clr-cyan-dark);
    }

    .lp-resend-btn.is-visible {
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .lp-resend-btn svg {
        width: 13px;
        height: 13px;
    }

/* ── SUBMIT BUTTON ── */
.lp-btn {
    width: 100%;
    height: var(--auth-btn-height);
    border: none;
    border-radius: var(--radius-xl);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--clr-cyan) 0%, var(--clr-cyan-dark) 100%);
    color: var(--clr-white);
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease);
    margin-bottom: 20px;
}

    .lp-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--clr-green) 0%, var(--clr-green-dark) 100%);
        opacity: 0;
        transition: opacity .3s var(--ease);
    }

    .lp-btn:hover::before {
        opacity: 1;
    }

    .lp-btn:hover {
        color: var(--clr-white);
        box-shadow: 0 8px 24px var(--clr-green-a35);
    }

    .lp-btn:active {
        transform: scale(.98);
    }

    .lp-btn:disabled {
        opacity: .4;
        cursor: not-allowed;
        pointer-events: none;
    }

    .lp-btn span,
    .lp-btn .lp-btn-text {
        position: relative;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

.lp-btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform .25s var(--ease);
}

.lp-btn:hover .lp-btn-arrow {
    transform: translateX(4px);
}

.lp-btn.is-loading::before {
    opacity: 1;
}

.lp-btn.is-loading .lp-btn-text,
.lp-btn.is-loading .lp-btn-text-wrap {
    opacity: 0;
}

.lp-btn.is-loading .lp-spinner {
    display: block;
}

.lp-spinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255,255,255,.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

/* ── SECURE NOTE ── */
.lp-secure-note {
    text-align: center;
    font-size: 12px;
    color: var(--clr-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .lp-secure-note svg {
        width: 12px;
        height: 12px;
    }

/* ── FOOTER NOTES ── */
.lp-footer-note,
.lp-back-to-login {
    text-align: center;
    font-size: 13px;
    color: var(--clr-muted);
}

    .lp-footer-note a,
    .lp-back-to-login a {
        color: var(--clr-cyan);
        font-weight: 600;
        text-decoration: none;
    }

        .lp-footer-note a:hover,
        .lp-back-to-login a:hover {
            color: var(--clr-cyan-dark);
        }

/* ── PASSWORD STRENGTH ── */
.lp-strength {
    margin-top: 10px;
}

.lp-strength-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.lp-strength-seg {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: var(--clr-border);
    transition: background var(--t-med) var(--ease);
}

    .lp-strength-seg.active-weak {
        background: var(--clr-danger);
    }

    .lp-strength-seg.active-fair {
        background: var(--clr-warning);
    }

    .lp-strength-seg.active-good {
        background: var(--clr-cyan);
    }

    .lp-strength-seg.active-strong {
        background: var(--clr-green);
    }

.lp-strength-label {
    font-size: 11.5px;
    color: var(--clr-muted);
    display: flex;
    justify-content: space-between;
}

    .lp-strength-label span {
        font-weight: 600;
    }

    .lp-strength-label .weak {
        color: var(--clr-danger);
    }

    .lp-strength-label .fair {
        color: var(--clr-warning);
    }

    .lp-strength-label .good {
        color: var(--clr-cyan);
    }

    .lp-strength-label .strong {
        color: var(--clr-green);
    }

/* ── PASSWORD REQUIREMENTS ── */
.lp-req-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 14px;
    padding: 14px 16px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
}

.lp-req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--clr-muted);
    transition: color var(--t-fast);
}

    .lp-req-item.is-met {
        color: var(--clr-green);
    }

.lp-req-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--t-fast);
}

.lp-req-item.is-met .lp-req-icon {
    background: var(--clr-green);
    border-color: var(--clr-green);
}

.lp-req-icon svg {
    width: 9px;
    height: 9px;
    stroke: white;
    opacity: 0;
    transition: opacity var(--t-fast);
}

.lp-req-item.is-met .lp-req-icon svg {
    opacity: 1;
}

/* ── MATCH INDICATOR ── */
.lp-match-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    margin-top: 6px;
    height: 16px;
}

    .lp-match-note svg {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

    .lp-match-note.is-match {
        color: var(--clr-green);
    }

    .lp-match-note.is-mismatch {
        color: var(--clr-danger);
    }

/* ── SUCCESS OVERLAY ── */
.lp-success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(245,245,245,.96);
    z-index: 100;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    backdrop-filter: blur(4px);
}

    .lp-success-overlay.is-visible {
        display: flex;
        animation: fadeUp .4s var(--ease) both;
    }

.lp-success-icon-wrap,
.lp-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--clr-green-pale);
    border: 2px solid var(--clr-green-a35);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lp-success-icon-wrap svg,
    .lp-success-icon svg {
        width: 32px;
        height: 32px;
        stroke: var(--clr-green);
    }

.lp-success-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 700;
    color: var(--clr-text);
}

.lp-success-sub {
    font-size: 14px;
    color: var(--clr-muted);
    max-width: 280px;
    line-height: 1.6;
}

.lp-success-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--clr-cyan), var(--clr-cyan-dark));
    color: white;
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow var(--t-med);
}

    .lp-success-link:hover {
        box-shadow: 0 6px 20px var(--clr-cyan-a30);
    }

/* ── SESSIONS TABLE ── */
.sessions-wrapper {
    max-width: 1100px;
    margin: 48px auto;
    padding: 0 24px;
    font-family: var(--font-sans);
}

.sessions-header {
    margin-bottom: 28px;
}

    .sessions-header h3 {
        font-family: var(--font-serif);
        font-size: 26px;
        font-weight: 700;
        color: var(--clr-text);
        margin-bottom: 6px;
    }

    .sessions-header p {
        font-size: 14px;
        color: var(--clr-muted);
    }

.sessions-rule {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-cyan), var(--clr-green));
    border-radius: 2px;
    margin-bottom: 16px;
}

.sessions-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    background: var(--clr-surface);
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

    .sessions-table thead tr {
        background: var(--clr-black);
    }

    .sessions-table thead th {
        padding: 14px 16px;
        text-align: left;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--clr-cyan);
        white-space: nowrap;
    }

    .sessions-table tbody tr {
        border-top: 1px solid var(--clr-border);
        transition: background var(--t-fast);
    }

        .sessions-table tbody tr:hover {
            background: var(--clr-bg);
        }

    .sessions-table tbody td {
        padding: 13px 16px;
        color: var(--clr-text);
        vertical-align: middle;
    }

.sessions-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 600;
}

.sessions-badge--active {
    background: var(--clr-green-pale);
    color: var(--clr-green-text);
}

.sessions-badge--inactive {
    background: var(--clr-bg);
    color: var(--clr-muted);
}

.sessions-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.sessions-badge--active::before {
    background: var(--clr-green);
}

.sessions-badge--inactive::before {
    background: var(--clr-muted);
}

/* ── Country dropdown (custom) ── */
.lp-country-select {
    border: none;
    border-right: 1.5px solid var(--clr-border);
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    background: var(--clr-bg);
    height: 50px;
    outline: none;
    cursor: pointer;
}

    .lp-country-select.has-flag {
        background-repeat: no-repeat;
        background-position: 8px center;
        background-size: 40px 30px;
        padding-left: 44px;
    }

        .lp-country-select.has-flag::-ms-expand {
            display: none;
        }

.country-dropdown {
    position: relative;
    width: 100px;
    padding: 2px;
}

    .country-dropdown .selected-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 12px;
        background: var(--clr-bg);
        border: 1px solid var(--clr-border);
        border-radius: var(--radius-md);
        cursor: pointer;
        user-select: none;
    }

        .country-dropdown .selected-option .flag {
            width: 40px;
            height: 25px;
            object-fit: cover;
        }

    .country-dropdown .dropdown-list {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        width: 100%;
        max-height: 220px;
        overflow-y: auto;
        background: var(--clr-surface);
        border: 1px solid var(--clr-border);
        border-radius: var(--radius-lg);
        box-shadow: 0 12px 24px var(--clr-black-a06);
        z-index: 2100;
        display: none;
    }

    .country-dropdown.open {
        z-index: 2000;
    }

        .country-dropdown.open .dropdown-list {
            display: block;
        }

    .country-dropdown .option {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 30px;
        cursor: pointer;
    }

        .country-dropdown .option:hover {
            background: var(--clr-cyan-pale);
        }

        .country-dropdown .option .flag {
            width: 35px;
            height: 20px;
            object-fit: cover;
        }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: translate(-50%,-50%) rotate(0deg);
    }

    to {
        transform: translate(-50%,-50%) rotate(360deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .lp-root {
        grid-template-columns: 1fr;
    }

    .lp-brand {
        display: none;
    }

    .lp-form-panel {
        padding: 32px 20px;
    }
}


/* ── FIELD TIP / HINT ── */
.lp-tip {
    margin-top: 6px;
    font-size: 12px;
    color: var(--clr-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
    animation: fadeUp .25s ease;
}

    /* Success / warning / error variants */
    .lp-tip.success {
        color: var(--clr-green);
    }

    .lp-tip.error {
        color: var(--clr-danger);
    }

    .lp-tip.warning {
        color: var(--clr-warning);
    }