:root{
    --auth-primary:#111827;
    --auth-secondary:#1f2937;
    --auth-accent:#2563eb;
    --auth-accent-2:#7c3aed;
    --auth-success:#10b981;
    --auth-text:#0f172a;
    --auth-muted:#64748b;
    --auth-line:rgba(255,255,255,.18);
    --auth-card:rgba(255,255,255,.18);
    --auth-card-solid:#ffffff;
    --auth-shadow:0 20px 80px rgba(15,23,42,.25);
}

*{box-sizing:border-box}

body.auth-pro-page{
    margin:0;
    min-height:100vh;
    font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:var(--auth-text);
    background:#0f172a;
    overflow-x:hidden;
}

.auth-pro-bg{
    position:fixed;
    inset:0;
    background:
        linear-gradient(120deg, rgba(15,23,42,.78), rgba(37,99,235,.58)),
        radial-gradient(circle at top right, rgba(124,58,237,.28), transparent 32%),
        radial-gradient(circle at bottom left, rgba(16,185,129,.20), transparent 28%),
        url('../img/auth-default-bg.jpg');
    background-size:cover;
    background-position:center;
    transform:scale(1.03);
    animation:bgZoom 18s ease-in-out infinite alternate;
    z-index:0;
}

.auth-pro-overlay{
    position:fixed;
    inset:0;
    background:linear-gradient(180deg, rgba(15,23,42,.24), rgba(15,23,42,.44));
    z-index:1;
}

.auth-floating{
    position:fixed;
    border-radius:50%;
    filter:blur(6px);
    opacity:.28;
    z-index:1;
    animation:floatUpDown 7s ease-in-out infinite;
}

.auth-floating-one{
    width:180px;height:180px;
    left:6%;top:14%;
    background:linear-gradient(135deg,#60a5fa,#2563eb);
}
.auth-floating-two{
    width:120px;height:120px;
    right:8%;top:18%;
    background:linear-gradient(135deg,#c084fc,#7c3aed);
    animation-delay:1.2s;
}
.auth-floating-three{
    width:150px;height:150px;
    right:18%;bottom:8%;
    background:linear-gradient(135deg,#34d399,#10b981);
    animation-delay:2.1s;
}

.auth-pro-wrapper{
    position:relative;
    z-index:2;
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
}

.auth-pro-grid{
    width:min(1220px,100%);
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:28px;
    align-items:stretch;
}

.auth-pro-brand-panel{
    color:#fff;
    padding:32px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:28px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    box-shadow:var(--auth-shadow);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    overflow:hidden;
    position:relative;
}

.auth-pro-brand-panel::before{
    content:"";
    position:absolute;
    inset:-40% auto auto -10%;
    width:220px;
    height:220px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
    pointer-events:none;
}

.auth-brand-top{
    display:flex;
    gap:18px;
    align-items:flex-start;
}

.auth-brand-mark{
    width:76px;
    height:76px;
    border-radius:22px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.18);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.auth-brand-mark img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.auth-brand-mark i{
    font-size:2rem;
    color:#fff;
}

.auth-brand-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:.75rem;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
    opacity:.8;
    margin-bottom:10px;
}

.auth-brand-title{
    font-size:2rem;
    line-height:1.15;
    margin:0 0 10px;
    font-weight:800;
}

.auth-brand-subtitle{
    margin:0;
    color:rgba(255,255,255,.84);
    font-size:1rem;
    max-width:640px;
}

.auth-brand-features{
    display:grid;
    gap:14px;
    margin:28px 0;
}

.auth-feature-item{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:14px 16px;
    border-radius:18px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.11);
}

.auth-feature-item span{
    width:44px;height:44px;
    border-radius:14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.14);
    flex-shrink:0;
}

.auth-feature-item i{
    font-size:1.1rem;
    color:#fff;
}

.auth-feature-item strong{
    display:block;
    font-size:.95rem;
    margin-bottom:2px;
}

.auth-feature-item small{
    color:rgba(255,255,255,.76);
    font-size:.82rem;
}

.auth-hero-visual{
    margin-top:auto;
    border-radius:24px;
    overflow:hidden;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.auth-hero-visual img{
    width:100%;
    max-height:300px;
    object-fit:contain;
    display:block;
}

.auth-hero-placeholder{
    margin-top:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.auth-mini-card{
    background:rgba(255,255,255,.09);
    border:1px solid rgba(255,255,255,.12);
    border-radius:20px;
    min-height:108px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:8px;
    padding:16px;
    animation:cardPulse 4.8s ease-in-out infinite;
}

.auth-mini-card:nth-child(2){animation-delay:.8s}
.auth-mini-card:nth-child(3){animation-delay:1.6s}

.auth-mini-card i{
    font-size:1.45rem;
    color:#fff;
}

.auth-mini-card span{
    font-size:.9rem;
    font-weight:700;
    color:#fff;
}

.auth-pro-form-panel{
    display:flex;
    align-items:center;
    justify-content:center;
}

.auth-pro-card{
    width:100%;
    max-width:480px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(255,255,255,.5);
    backdrop-filter:blur(22px);
    box-shadow:0 22px 80px rgba(15,23,42,.28);
    border-radius:28px;
    padding:30px;
    position:relative;
    overflow:hidden;
}

.auth-pro-card::before{
    content:"";
    position:absolute;
    inset:0 0 auto 0;
    height:5px;
    background:linear-gradient(90deg,var(--auth-accent),var(--auth-accent-2),var(--auth-success));
}

.auth-form-top{
    margin-bottom:22px;
}

.auth-form-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#eef4ff;
    color:#1d4ed8;
    font-size:.78rem;
    font-weight:700;
    margin-bottom:14px;
}

.auth-form-top h2{
    margin:0 0 6px;
    font-size:1.8rem;
    font-weight:800;
    color:#0f172a;
}

.auth-form-top p{
    margin:0;
    color:var(--auth-muted);
}

.auth-label{
    display:block;
    margin-bottom:8px;
    font-size:.9rem;
    font-weight:700;
    color:#0f172a;
}

.auth-input-wrap{
    position:relative;
}

.auth-input{
    height:56px;
    padding-left:48px;
    padding-right:48px;
    border-radius:16px;
    border:1px solid #d9e2ec;
    background:#fff;
    font-size:.96rem;
    box-shadow:none !important;
    transition:all .25s ease;
}

.auth-input:focus{
    border-color:#93c5fd;
    box-shadow:0 0 0 .24rem rgba(37,99,235,.12) !important;
    transform:translateY(-1px);
}

.auth-input-icon{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    color:#64748b;
    font-size:1rem;
    z-index:2;
}

.auth-password-toggle{
    position:absolute;
    top:50%;
    right:12px;
    transform:translateY(-50%);
    border:0;
    background:transparent;
    width:36px;
    height:36px;
    border-radius:10px;
    color:#475569;
}

.auth-password-toggle:hover{
    background:#f1f5f9;
}

.auth-caps-warning{
    margin-top:8px;
    font-size:.82rem;
    color:#b45309;
    background:#fff7ed;
    border:1px solid #fed7aa;
    padding:9px 12px;
    border-radius:12px;
}

.auth-meta-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-top:12px;
}

.auth-secure-note{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#64748b;
    font-size:.85rem;
}

.auth-pro-login-btn{
    height:56px;
    border:0;
    border-radius:16px;
    background:linear-gradient(135deg,#0f172a,#2563eb);
    color:#fff;
    font-weight:700;
    font-size:.95rem;
    box-shadow:0 14px 30px rgba(37,99,235,.24);
    transition:all .25s ease;
}

.auth-pro-login-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 34px rgba(37,99,235,.28);
    color:#fff;
}

.auth-pro-login-btn:disabled{
    opacity:.9;
    transform:none;
}

.auth-alert-modern{
    border:0;
    border-radius:16px;
    padding:14px 16px;
    font-size:.92rem;
}

.auth-footer-note{
    text-align:center;
    margin-top:22px;
    color:#111827;
    font-size:.84rem;
    font-weight:500;
}

.auth-footer-note small,
.auth-footer-note strong{
    color:#111827 !important;
    opacity:1 !important;
}

@keyframes bgZoom{
    0%{transform:scale(1.03)}
    100%{transform:scale(1.08)}
}

@keyframes floatUpDown{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-14px)}
}

@keyframes cardPulse{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-5px)}
}

@media (max-width: 991.98px){
    .auth-pro-grid{
        grid-template-columns:1fr;
        max-width:560px;
    }

    .auth-pro-brand-panel{
        display:none;
    }

    .auth-pro-card{
        max-width:100%;
    }
}

@media (max-width: 575.98px){
    .auth-pro-wrapper{
        padding:16px;
    }

    .auth-pro-card{
        border-radius:22px;
        padding:22px 18px;
    }

    .auth-form-top h2{
        font-size:1.55rem;
    }

    .auth-input,
    .auth-pro-login-btn{
        height:52px;
    }
}