*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#2563eb;
    --primary-hover:#1d4ed8;

    --background:#07111d;

    --card:rgba(17,24,39,.82);

    --border:rgba(255,255,255,.08);

    --text:#ffffff;

    --text2:#9ca3af;

    --input:#1f2937;

}

body{

    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;

    background:linear-gradient(160deg,#07111d,#10213e,#07111d);

    min-height:100vh;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    overflow:hidden;

}

.background{

    position:fixed;

    inset:0;

    background:

    radial-gradient(circle at 20% 20%,rgba(37,99,235,.20),transparent 35%),

    radial-gradient(circle at 80% 80%,rgba(59,130,246,.15),transparent 40%);

    z-index:-1;

}

header{

    position:absolute;

    top:35px;

    text-align:center;

    width:100%;

}

header h1{

    color:white;

    font-size:28px;

    font-weight:300;

    letter-spacing:1px;

}

.login-card{

    width:430px;

    max-width:92%;

    padding:45px;

    border-radius:24px;

    background:var(--card);

    backdrop-filter:blur(18px);

    border:1px solid var(--border);

    box-shadow:0 30px 80px rgba(0,0,0,.45);

    animation:show .6s ease;

}

@keyframes show{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.logo{

    display:flex;

    justify-content:center;

    margin-bottom:22px;

}

.logo-circle{

    width:120px;

    height:120px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#2563eb,#60a5fa);

    color:white;

    font-size:30px;

    font-weight:bold;

    box-shadow:0 15px 35px rgba(37,99,235,.45);

}

h2{

    color:white;

    text-align:center;

    font-size:30px;

    margin-bottom:10px;

}

.subtitle{

    text-align:center;

    color:var(--text2);

    line-height:1.6;

    margin-bottom:35px;

}

.form-group{

    margin-bottom:22px;

}

.form-group label{

    display:block;

    color:#d1d5db;

    margin-bottom:8px;

    font-size:15px;

}

input[type=text],
input[type=password]{

    width:100%;

    padding:16px;

    border:none;

    border-radius:12px;

    background:var(--input);

    color:white;

    font-size:17px;

    outline:none;

    transition:.25s;

}

input:focus{

    box-shadow:0 0 0 2px var(--primary);

}

.password-box{

    position:relative;

}

.eye{

    position:absolute;

    right:8px;

    top:50%;

    transform:translateY(-50%);

    width:42px;

    height:42px;

    border:none;

    border-radius:10px;

    cursor:pointer;

    background:none;

    color:white;

    font-size:20px;

}

.remember{

    display:flex;

    align-items:center;

    gap:10px;

    margin:25px 0;

    color:#d1d5db;

}

.login-btn{

    width:100%;

    padding:17px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:white;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

}

.login-btn:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

}

.status{

    height:24px;

    margin-top:18px;

    color:#cbd5e1;

    text-align:center;

}

footer{

    position:absolute;

    bottom:22px;

    color:#64748b;

    font-size:13px;

}

@media(max-width:700px){

header h1{

    font-size:20px;

    padding:0 20px;

}

.login-card{

    padding:30px;

}

.logo-circle{

    width:95px;

    height:95px;

    font-size:24px;

}

h2{

    font-size:25px;

}

}
/* ===========================
   DASHBOARD
=========================== */

.dashboard{
    display:flex;
    min-height:100vh;
    background:#0f172a;
}

.sidebar{
    width:260px;
    background:#111827;
    border-right:1px solid rgba(255,255,255,.08);
    display:flex;
    flex-direction:column;
    padding:30px 20px;
}

.sidebar .logo{
    text-align:center;
    margin-bottom:40px;
}

.sidebar .logo-circle{
    width:90px;
    height:90px;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#60a5fa);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:24px;
    font-weight:bold;
    margin:0 auto 15px;
}

.sidebar h2{
    color:white;
    font-size:22px;
}

.sidebar nav{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.sidebar nav a{
    text-decoration:none;
    color:#cbd5e1;
    padding:14px 18px;
    border-radius:12px;
    transition:.25s;
}

.sidebar nav a:hover{
    background:#1e293b;
}

.sidebar nav a.active{
    background:#2563eb;
    color:white;
}

.content{
    flex:1;
    padding:35px;
}

.topbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.topbar h1{
    color:white;
    font-size:34px;
    margin-bottom:5px;
}

.topbar p{
    color:#94a3b8;
}

.profile{
    display:flex;
    align-items:center;
    gap:15px;
}

.avatar{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#2563eb;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    font-size:22px;
    font-weight:bold;
}

.profile strong{
    display:block;
    color:white;
}

.profile small{
    color:#94a3b8;
}

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:35px;
}

.card{
    background:#1e293b;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.card h3{
    color:#cbd5e1;
    font-size:17px;
    margin-bottom:20px;
}

.card span{
    color:white;
    font-size:34px;
    font-weight:bold;
}

.panel{
    background:#1e293b;
    border-radius:18px;
    padding:25px;
    margin-bottom:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.panel h2{
    color:white;
    margin-bottom:18px;
}

.panel ul{
    list-style:none;
}

.panel li{
    color:#cbd5e1;
    padding:14px 0;
    border-bottom:1px solid rgba(255,255,255,.05);
}

.panel li:last-child{
    border:none;
}

@media(max-width:1100px){

.cards{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:760px){

.dashboard{

flex-direction:column;

}

.sidebar{

width:100%;

}

.cards{

grid-template-columns:1fr;

}

.topbar{

flex-direction:column;
align-items:flex-start;
gap:20px;

}

}