﻿@import url('poppins.css');
/* CSS Variables */
:root {
    --primary-color: #0891b2;
    --primary-hover: #0e7490;
    --secondary-color: #06b6d4;
    --accent-color: #67e8f9;
    --dark-color: #0f172a;
    --light-gray: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}
/* Ensure html and body have no offsets */
.login-page-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: linear-gradient(270deg, #0097a7, #00acc1, #26c6da, #4dd0e1, #26c6da, #00acc1, #0097a7) !important;
    background-size: 300% 300% !important;
    animation: bgShimmer 8s ease infinite !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    z-index: 9999 !important;
    overflow: hidden !important;
    margin: 0 !important;
}
    .login-page-wrapper .lp-orb:nth-child(1) {
        width: 300px;
        height: 300px;
        top: -80px;
        left: -80px;
        animation-duration: 18s;
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), rgba(77,208,225,0.05));
    }

    .login-page-wrapper .lp-orb:nth-child(2) {
        width: 200px;
        height: 200px;
        bottom: 5%;
        left: 15%;
        animation-duration: 14s;
        animation-delay: -4s;
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), rgba(0,188,212,0.04));
    }

    .login-page-wrapper .lp-orb:nth-child(3) {
        width: 150px;
        height: 150px;
        top: 20%;
        right: 5%;
        animation-duration: 10s;
        animation-delay: -7s;
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.10), rgba(77,208,225,0.03));
    }

    .login-page-wrapper .lp-orb:nth-child(4) {
        width: 80px;
        height: 80px;
        bottom: 10%;
        right: 15%;
        animation-duration: 8s;
        animation-delay: -2s;
        background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), rgba(0,172,193,0.04));
    }

.login-main-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: min(1200px, calc(100vw - 40px)) !important;
    height: min(90vh, 800px) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 32px 64px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1) !important;
    animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) both !important;
}
.lp-wrap {
    min-height: 500px;
    background: linear-gradient(135deg, #0097a7 0%, #00acc1 30%, #26c6da 60%, #4dd0e1 100%);
    background-size: 300% 300%;
    animation: bgShimmer 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 12px;
}
.login-page-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}
.login-page-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 60%, transparent 100%);
    animation: sweep 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgShimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Floating orbs - blend with cyan theme */
.lp-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.22), rgba(0,188,212,0.06));
    border: 1px solid rgba(255,255,255,0.18);
    animation: orbFloat linear infinite;
    pointer-events: none;
}

    .lp-orb:nth-child(1) {
        width: 200px;
        height: 200px;
        top: -60px;
        left: -60px;
        animation-duration: 18s;
    }

    .lp-orb:nth-child(2) {
        width: 140px;
        height: 140px;
        bottom: 20px;
        left: 20%;
        animation-duration: 14s;
        animation-delay: -4s;
    }

    .lp-orb:nth-child(3) {
        width: 100px;
        height: 100px;
        top: 30%;
        right: 5%;
        animation-duration: 10s;
        animation-delay: -7s;
    }

    .lp-orb:nth-child(4) {
        width: 60px;
        height: 60px;
        bottom: 15%;
        right: 20%;
        animation-duration: 8s;
        animation-delay: -2s;
    }

@keyframes orbFloat {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.55;
    }

    50% {
        transform: translateY(-22px) scale(1.04);
        opacity: 0.80;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 0.55;
    }
}

/* Grid dots */
.lp-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Light sweep */
.lp-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.04) 60%, transparent 100%);
    animation: sweep 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sweep {
    0% {
        left: -100%;
    }

    50% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Container */
.lp-card {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 820px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.25), 0 0 0 1px rgba(255,255,255,0.1);
    animation: cardIn 0.7s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* LEFT PANEL — cyan-tinted frosted glass, not black, not flat white */
.lp-left {
    flex: 1.1;
    background: linear-gradient(160deg, rgba(0,131,143,0.35) 0%, rgba(0,172,193,0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-right: 1px solid rgba(255,255,255,0.25);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

/* Animated molecule */
.lp-molecule {
    position: relative;
    width: 120px;
    height: 120px;
    animation: molSpin 12s linear infinite;
}

@keyframes molSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Center — warm white with cyan bloom, more dramatic */
.lp-mol-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e0f7fa 60%, #b2ebf2 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 5px rgba(255,255,255,0.12), 0 0 18px rgba(255,255,255,0.95), 0 0 40px rgba(103,232,249,0.7), 0 0 80px rgba(6,182,212,0.4), 0 0 110px rgba(6,182,212,0.15);
    animation: centerPulse 2.5s ease-in-out infinite;
    z-index: 2;
}

@keyframes pulse {
    0%,100% {
        box-shadow: 0 0 20px rgba(103,232,249,0.6);
    }

    50% {
        box-shadow: 0 0 35px rgba(103,232,249,0.9), 0 0 60px rgba(103,232,249,0.3);
    }
}
.lp-mol-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 0 8px rgba(255,255,255,0.6), 0 0 16px rgba(255,255,255,0.3);
}
    /* Top dot — bright aqua */
    .lp-mol-dot:nth-child(2) {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 13px;
        height: 13px;
        background: radial-gradient(circle at 35% 35%, #67e8f9, #06b6d4);
        box-shadow: 0 0 10px rgba(103,232,249,0.9), 0 0 22px rgba(6,182,212,0.5);
    }

    /* Bottom dot — deeper teal */
    .lp-mol-dot:nth-child(3) {
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 11px;
        height: 11px;
        background: radial-gradient(circle at 35% 35%, #22d3ee, #0891b2);
        box-shadow: 0 0 10px rgba(34,211,238,0.85), 0 0 20px rgba(8,145,178,0.45);
    }

    /* Left dot — sky blue */
    .lp-mol-dot:nth-child(4) {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        background: radial-gradient(circle at 35% 35%, #a5f3fc, #22d3ee);
        box-shadow: 0 0 12px rgba(165,243,252,0.9), 0 0 25px rgba(34,211,238,0.5);
    }

    /* Right dot — electric cyan */
    .lp-mol-dot:nth-child(5) {
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        background: radial-gradient(circle at 35% 35%, #cffafe, #06b6d4);
        box-shadow: 0 0 8px rgba(207,250,254,0.9), 0 0 18px rgba(6,182,212,0.5);
    }

.lp-mol-ring {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    border: 1.5px dashed rgba(103,232,249,0.55);
    filter: drop-shadow(0 0 4px rgba(103,232,249,0.45));
    animation: molSpin 8s linear infinite reverse;
}

/* Brand */
.lp-brand {
    text-align: center;
    color: white;
}

.lp-brand-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    backdrop-filter: blur(10px);
    animation: iconBob 3s ease-in-out infinite;
}
@keyframes centerPulse {
    0%, 100% {
        box-shadow: 0 0 0 5px rgba(255,255,255,0.12), 0 0 18px rgba(255,255,255,0.95), 0 0 40px rgba(103,232,249,0.7), 0 0 80px rgba(6,182,212,0.4), 0 0 110px rgba(6,182,212,0.15);
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(255,255,255,0.10), 0 0 28px rgba(255,255,255,1), 0 0 60px rgba(103,232,249,0.85), 0 0 100px rgba(6,182,212,0.55), 0 0 140px rgba(6,182,212,0.2);
        transform: translate(-50%, -50%) scale(1.14);
    }
}
@keyframes iconBob {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

.lp-brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.lp-brand-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
    line-height: 1.4;
}

/* Feature grid */
.lp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

/* Feature tiles */
.lp-feat {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    cursor: default;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
    .lp-feat:hover {
        background: rgba(255,255,255,0.24);
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.10);
    }

    .lp-feat i {
        font-size: 16px;
        margin-bottom: 5px;
        display: block;
    }

    .lp-feat span {
        font-size: 10px;
        font-weight: 600;
        opacity: 0.9;
    }

/* Stat bar */
.lp-stats {
    display: flex;
    gap: 16px;
    width: 100%;
}

/* STAT BOXES — enough white to pop but still glassy */
.lp-stat {
    flex: 1;
    background: rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.30);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lp-stat-num {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff; 
    text-shadow: 0 0 14px rgba(255,255,255,0.6);
}

.lp-stat-lbl {
    font-size: 9px;
    opacity: 0.85;
    margin-top: 2px;
}

/* Right panel */
.lp-right {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
}

/* Form header */
.lp-form-header {
    background: linear-gradient(270deg, #0097a7, #00acc1, #26c6da, #00acc1, #0097a7);
    background-size: 300% 100%;
    animation: bgShimmer 6s ease infinite;
    padding: 28px 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .lp-form-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
        pointer-events: none;
    }

    .lp-form-header::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100%;
        background: linear-gradient(120deg, transparent, rgba(255,255,255,0.12), transparent);
        animation: sweep 4s ease-in-out infinite;
    }

.lp-form-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.lp-form-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* Form body */
.lp-form-body {
    padding: 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.lp-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.lp-input-wrap {
    position: relative;
    display: block; 
    width: 100%;
}
.lp-left-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none !important; /* never clickable */
    z-index: 3;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
    /* Left icon — lock, user, shield */
    .lp-input-wrap > i:first-child {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #9ca3af;
        font-size: 14px;
        pointer-events: none; /* ← never intercepts clicks */
        z-index: 2;
    }

/* Only target the left icon */
.lp-input-wrap > i:first-of-type {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}

.lp-inp {
    width: 100%;
    height: 44px;
    padding: 0 48px 0 42px !important; /* right padding for eye icon */
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #1f2937;
    outline: none;
    box-sizing: border-box;
    position: relative;
    z-index: 1; /* input above wrapper, below icons */
    display: block;
}

    .lp-inp:focus {
        border-color: #00acc1;
        box-shadow: 0 0 0 4px rgba(0,172,193,0.15);
    }
        .lp-inp:focus + i,
        .lp-input-wrap:focus-within i {
            color: #00897b;
        }

/* Captcha row */
.lp-captcha-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 4px;
}

.lp-captcha-box {
    flex: 1;
    height: 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #e0f7fa;
    color: #006064;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 6px;
    font-family: monospace;
    user-select: none;
    position: relative;
    overflow: hidden;
}

    .lp-captcha-box::after {
        content: '';
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( 45deg, transparent, transparent 4px, rgba(0,150,136,0.05) 4px, rgba(0,150,136,0.05) 8px );
    }

.lp-refresh-btn {
    width: 44px;
    height: 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: white;
    color: #00acc1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .lp-refresh-btn:hover {
        background: #00acc1;
        color: white;
        border-color: #00acc1;
        transform: rotate(180deg);
    }

/* Forgot */
.lp-forgot {
    text-align: right;
}

    .lp-forgot a {
        font-size: 12px;
        color: #0097a7;
        text-decoration: none;
        font-weight: 600;
    }

        .lp-forgot a:hover {
            text-decoration: underline;
        }

/* Button */
.lp-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(135deg, #0097a7, #26c6da);
    background-size: 200% 100%;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 0.3px;
}

    .lp-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }

    .lp-btn:hover::before {
        left: 100%;
    }

    .lp-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0,105,92,0.35);
    }

    .lp-btn:active {
        transform: translateY(0);
    }

/* Footer */
.lp-footer {
    text-align: center;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Stagger animations for fields */
.lp-field:nth-child(1) {
    animation: slideUp 0.5s ease 0.3s both;
}

.lp-field:nth-child(2) {
    animation: slideUp 0.5s ease 0.4s both;
}

.lp-field:nth-child(3) {
    animation: slideUp 0.5s ease 0.5s both;
}

.lp-forgot {
    animation: slideUp 0.5s ease 0.6s both;
}

.lp-btn {
    animation: slideUp 0.5s ease 0.7s both;
}
/* Modal Overrides */
.modal {
    z-index: 10000 !important;
}

.modal-backdrop {
    z-index: 9999 !important;
}

.modal-content {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15) !important;
    overflow: hidden !important;
    font-family: 'Inter', sans-serif !important;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
    color: white !important;
    padding: 24px 32px !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    text-align: center !important;
}

    .modal-header .title {
        font-size: 20px !important;
        font-weight: 600 !important;
        margin: 0 !important;
        font-family: 'Inter', sans-serif !important;
    }

.modal-body {
    padding: 32px !important;
}

.modal-footer {
    padding: 24px 32px !important;
    border-top: 1px solid var(--border-color) !important;
}

.btn-primary {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', sans-serif !important;
}

    .btn-primary:hover {
        background: var(--primary-hover) !important;
        border-color: var(--primary-hover) !important;
        transform: translateY(-1px) !important;
    }

.btn-secondary {
    background: var(--light-gray) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Error state styles for login form inputs */
.login-form-control.error-input {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
    background-color: rgba(239, 68, 68, 0.02) !important;
}

    .login-form-control.error-input:focus {
        border-color: var(--error-color) !important;
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
    }

/* Optional: Add a shake animation for better UX */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.login-form-control.error-input {
    animation: shake 0.3s ease-in-out;
}

/* Error icon styling - change input icon color when there's an error */
.login-input-wrapper.error .login-input-icon {
    color: var(--error-color) !important;
}

/* Optional: Error message styling if you want to add error messages */
.login-error-message {
    color: var(--error-color);
    font-size: 12px;
    font-weight: 500;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
}

    .login-error-message i {
        font-size: 14px;
    }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Password toggle eye icon */
.lp-toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px !important; 
    height: 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    pointer-events: all !important;
    z-index: 3;
    color: #9ca3af;
    font-size: 14px;
    transition: color 0.3s;
}

    .lp-toggle-pw:hover {
        color: #00897b;
    }

/* Password field needs right padding for eye icon */
.lp-inp.has-toggle {
    padding-left: 42px !important;
    padding-right: 42px !important;
    position: relative;
    z-index: 1;
}

/* Button loading state */
.lp-btn:disabled {
    cursor: not-allowed;
    opacity: 0.85;
    transform: none !important;
    box-shadow: none !important;
}

.lp-btn .lp-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spinBtn 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes spinBtn {
    to {
        transform: rotate(360deg);
    }
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

/* Tablet landscape / small laptop */
@media (max-width: 900px) {
    .lp-card {
        flex-direction: column !important;
        max-width: 480px !important;
        height: auto !important;
        max-height: 95vh;
        overflow-y: auto;
    }

    .lp-left {
        padding: 28px 24px !important;
        gap: 16px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .lp-molecule {
        width: 80px;
        height: 80px;
    }

    .lp-stats {
        gap: 10px;
    }

    .lp-stat {
        padding: 8px;
    }

    .lp-stat-num {
        font-size: 15px;
        color: #b2ebf2;
    }

    .lp-features {
        gap: 8px;
    }

    .lp-feat {
        padding: 10px 8px;
    }

    .lp-form-header {
        padding: 20px 24px 16px;
    }

    .lp-form-body {
        padding: 20px 24px;
        gap: 12px;
    }
}

/* Mobile landscape / large phone */
@media (max-width: 600px) {
    .lp-card {
        max-width: 100% !important;
        border-radius: 16px !important;
        margin: 0 4px;
    }

    .lp-left {
        display: none;
    }
    /* hide left panel on small phones */

    .lp-right {
        border-radius: 16px;
    }

    .lp-form-header {
        padding: 24px 20px 18px;
    }

    .lp-form-title {
        font-size: 18px;
    }

    .lp-form-body {
        padding: 20px;
        gap: 12px;
    }

    .lp-inp {
        height: 42px;
        font-size: 13px;
    }

    .lp-btn {
        height: 44px;
        font-size: 14px;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .lp-form-body {
        padding: 16px;
    }

    .lp-inp {
        height: 40px;
    }

    .lp-btn {
        height: 42px;
    }
}

/* Large desktop — give more room */
@media (min-width: 1400px) {
    .lp-card {
        max-width: 960px;
    }

    .lp-form-title {
        font-size: 24px;
    }

    .lp-inp {
        height: 50px;
        font-size: 14px;
    }

    .lp-btn {
        height: 52px;
        font-size: 15px;
    }

    .lp-brand-name {
        font-size: 22px;
    }

    .lp-form-body {
        padding: 36px 40px;
        gap: 20px;
    }

    .lp-form-header {
        padding: 36px 40px 28px;
    }
}

/* Tablet portrait */
@media (min-width: 601px) and (max-width: 900px) {
    .lp-left {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .lp-molecule {
        display: none;
    }

    .lp-brand {
        flex: 0 0 100%;
    }

    .lp-stats {
        flex: 0 0 45%;
    }

    .lp-features {
        flex: 0 0 45%;
    }
}