
:root{
--primary:#2563eb;
--secondary:#0ea5e9;
--dark:#081326;
--light:#f8fafc;
--success:#10b981;
--radius:22px;
}

*{margin:0;padding:0;box-sizing:border-box}
body{
font-family:Poppins,sans-serif;
background:#091426;
min-height:100vh;
overflow-x:hidden;
color:#fff;
}

.page-bg{
position:fixed;
inset:0;
background:
linear-gradient(135deg,#081326,#123b7a,#0ea5e9);
z-index:-2;
}

.overlay{
position:absolute;
inset:0;
background:
radial-gradient(circle at top right,rgba(255,255,255,.15),transparent 35%),
radial-gradient(circle at bottom left,rgba(14,165,233,.2),transparent 30%);
}

.wrapper{
display:grid;
grid-template-columns:1.1fr .9fr;
min-height:100vh;
}

.hero{
padding:60px;
display:flex;
flex-direction:column;
justify-content:center;
}

.logo{
width:180px;
margin-bottom:25px;
}

.badge{
display:inline-block;
padding:8px 16px;
border-radius:40px;
background:rgba(255,255,255,.15);
backdrop-filter:blur(12px);
font-size:13px;
margin-bottom:25px;
}

.hero h1{
font-size:58px;
line-height:1.1;
font-weight:800;
margin-bottom:20px;
}

.hero h1 span{
display:block;
color:#8dd7ff;
}

.hero p{
font-size:18px;
line-height:1.8;
max-width:550px;
opacity:.9;
}

.hero-features{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:18px;
margin-top:40px;
max-width:520px;
}

.feature{
display:flex;
align-items:center;
gap:14px;
padding:18px;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.12);
border-radius:18px;
backdrop-filter:blur(12px);
transition:.3s;
}

.feature:hover{
transform:translateY(-5px);
background:rgba(255,255,255,.14);
}

.feature i{
font-size:22px;
color:#7dd3fc;
}

.stats{
display:flex;
gap:40px;
margin-top:50px;
}

.stats h2{
font-size:34px;
}

.login-section{
display:flex;
justify-content:center;
align-items:center;
padding:30px;
}

.login-card{
width:100%;
max-width:470px;
background:rgba(255,255,255,.94);
border-radius:28px;
padding:40px;
box-shadow:0 25px 70px rgba(0,0,0,.25);
color:#111827;
}

.card-header{
text-align:center;
margin-bottom:30px;
}

.card-header small{
letter-spacing:3px;
color:var(--primary);
font-weight:700;
}

.card-header h2{
margin-top:8px;
font-size:34px;
}

.card-header p{
margin-top:10px;
color:#6b7280;
}

.form-group{
margin-bottom:22px;
}

.form-group label{
display:block;
margin-bottom:10px;
font-weight:600;
}

.input-box{
display:flex;
align-items:center;
border:1px solid #d1d5db;
border-radius:15px;
padding:0 16px;
height:58px;
transition:.3s;
background:#fff;
}

.input-box:focus-within{
border-color:var(--secondary);
box-shadow:0 0 0 5px rgba(14,165,233,.15);
}

.input-box i{
color:#64748b;
margin-right:10px;
}

.input-box input{
flex:1;
border:none;
outline:none;
font-size:15px;
font-family:Poppins;
}

.toggle-password{
border:none;
background:none;
cursor:pointer;
font-size:18px;
color:#64748b;
}

.options{
display:flex;
justify-content:space-between;
align-items:center;
font-size:14px;
margin-bottom:25px;
}

.options a{
text-decoration:none;
color:var(--primary);
font-weight:600;
}

.login-btn{
width:100%;
height:58px;
border:none;
border-radius:16px;
font-size:17px;
font-weight:700;
background:linear-gradient(90deg,#00c6ff,#2563eb);
color:#fff;
cursor:pointer;
transition:.3s;
}

.login-btn:hover{
transform:translateY(-2px);
box-shadow:0 18px 35px rgba(37,99,235,.35);
}

.trust{
display:flex;
justify-content:center;
gap:20px;
margin:28px 0 16px;
font-size:14px;
color:#475569;
}

.register{
text-align:center;
font-weight:500;
}

.register a{
text-decoration:none;
font-weight:700;
color:var(--primary);
}

.alert{
padding:14px;
border-radius:12px;
margin-bottom:18px;
font-size:14px;
}

.success{
background:#dcfce7;
color:#166534;
}

.error{
background:#fee2e2;
color:#991b1b;
}

@media(max-width:992px){
.wrapper{
grid-template-columns:1fr;
}
.hero{
padding:30px 25px;
text-align:center;
}
.hero h1{
font-size:40px;
}
.hero p{
margin:auto;
}
.hero-features{
grid-template-columns:repeat(2,1fr);
margin:auto;
margin-top:30px;
}
.stats{
justify-content:center;
}
.login-section{
padding:20px;
margin-top:-10px;
}
}

@media(max-width:576px){
.hero{
padding:25px 18px;
}
.logo{
width:140px;
}
.hero h1{
font-size:32px;
}
.hero p{
font-size:15px;
}
.hero-features{
grid-template-columns:1fr 1fr;
gap:12px;
}
.feature{
padding:14px;
font-size:14px;
}
.stats{
gap:18px;
}
.stats h2{
font-size:24px;
}
.login-card{
padding:24px;
border-radius:22px;
}
.card-header h2{
font-size:28px;
}
.options{
flex-direction:column;
gap:10px;
align-items:flex-start;
}
.trust{
flex-direction:column;
gap:8px;
}
}
/* Forgot Password */

.forgot-page .badge{
    background:#fff3cd;
    color:#b45309;
}

.forgot-page .card-header small{
    color:#2563eb;
    letter-spacing:3px;
}

.forgot-page .login-btn{
    background:linear-gradient(135deg,#0ea5e9,#2563eb);
}

.forgot-page .login-btn:hover{
    transform:translateY(-3px);
}

.forgot-page .hero h1 span{
    color:#7dd3fc;
}

.otp-inputs{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:nowrap;
    width:100%;
    margin:2px 0;
}
.otp-box{
    width:55px;
    height:60px;
    min-width:55px;
    border:2px solid #E5E7EB;
    border-radius:14px;
    text-align:center;
    font-size:24px;
    font-weight:700;
    background:#F8FAFC;
    transition:.3s;
}

.otp-box:focus{
    outline:none;
    border-color:#2563EB;
    box-shadow:0 8px 20px rgba(37,99,235,.18);
}
@media (max-width:576px){

    .otp-inputs{
        gap:8px;
    }

    .otp-box{
        width:44px;
        min-width:44px;
        height:52px;
        font-size:20px;
    }

}
.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin:35px 0;

}

.dashboard-card{

    display:flex;

    align-items:center;

    gap:15px;

    padding:18px;

    border-radius:18px;

    background:rgba(255,255,255,.10);

    border:1px solid rgba(255,255,255,.12);

    backdrop-filter:blur(15px);

    transition:.35s;

}

.dashboard-card:hover{

    transform:translateY(-6px);

    background:rgba(255,255,255,.16);

    box-shadow:0 18px 40px rgba(0,0,0,.18);

}

.card-icon{

    width:60px;

    height:60px;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    font-size:24px;

    flex-shrink:0;

}

.bg-blue{

    background:linear-gradient(135deg,#2563eb,#3b82f6);

}

.bg-orange{

    background:linear-gradient(135deg,#f97316,#fb923c);

}

.bg-green{

    background:linear-gradient(135deg,#16a34a,#22c55e);

}

.bg-purple{

    background:linear-gradient(135deg,#7c3aed,#a855f7);

}

.card-info h4{

    color:#fff;

    font-size:18px;

    margin-bottom:4px;

    font-weight:700;

}

.card-info p{

    color:rgba(255,255,255,.75);

    font-size:13px;

    line-height:1.5;

    margin:0;

}

@media(max-width:768px){

    .dashboard-grid{

        grid-template-columns:1fr;

    }

}