/* ===========================
   GOOGLE FONT
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#0f172a;
    color:#fff;
    display:flex;
    min-height:100vh;
}

/* ===========================
   SIDEBAR
=========================== */

.sidebar{
    width:260px;
    background:#111827;
    padding:30px 20px;
    border-right:1px solid rgba(255,255,255,.08);
    position:fixed;
    height:100%;
}

.logo h2{
    font-size:28px;
    margin-bottom:40px;
}

.logo span{
    color:#38bdf8;
}

nav{
    display:flex;
    flex-direction:column;
    gap:15px;
}

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

nav a:hover,
nav .active{
    background:#1e293b;
    color:#38bdf8;
}

/* ===========================
   MAIN
=========================== */

.main{
    flex:1;
    margin-left:260px;
    padding:35px;
}

/* ===========================
   TOP BAR
=========================== */

.top-bar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
}

.top-bar h1{
    font-size:34px;
}

.top-bar p{
    color:#94a3b8;
    margin-top:6px;
}

.focus-btn{
    padding:14px 28px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    background:#0ea5e9;
    color:#fff;
    font-size:15px;
    transition:.3s;
}

.focus-btn:hover{
    background:#0284c7;
    transform:translateY(-3px);
}

/* ===========================
   HERO
=========================== */

.hero-card{
    background:#1e293b;
    padding:30px;
    border-radius:20px;
    margin-bottom:30px;
}

.hero-card h2{
    color:#cbd5e1;
    margin-bottom:10px;
}

.hero-card h3{
    font-size:34px;
}

.progress{
    width:100%;
    height:12px;
    background:#334155;
    border-radius:30px;
    overflow:hidden;
    margin:18px 0;
}

.progress-fill{
    width:56%;
    height:100%;
    background:linear-gradient(to right,#06b6d4,#3b82f6);
}

/* ===========================
   STATS
=========================== */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-bottom:35px;
}

.card{
    background:#1e293b;
    padding:25px;
    border-radius:18px;
    text-align:center;
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
}

.card h3{
    color:#94a3b8;
    margin-bottom:12px;
    font-size:16px;
}

.card h2{
    font-size:30px;
}

/* ===========================
   QUICK ACTIONS
=========================== */

.quick-actions h2{
    margin-bottom:20px;
}

.action-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:40px;
}

.action-card{
    background:#1e293b;
    padding:25px;
    border-radius:18px;
    transition:.3s;
    cursor:pointer;
}

.action-card:hover{
    transform:translateY(-6px);
    border:1px solid #38bdf8;
}

.action-card h3{
    margin-bottom:10px;
}

.action-card p{
    color:#94a3b8;
}

/* ===========================
   TABLE
=========================== */

.recent{
    margin-bottom:35px;
}

.recent h2{
    margin-bottom:18px;
}

table{
    width:100%;
    border-collapse:collapse;
    background:#1e293b;
    border-radius:18px;
    overflow:hidden;
}

th{
    background:#0f172a;
    padding:18px;
}

td{
    padding:18px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
}

/* ===========================
   QUOTE
=========================== */

.quote{
    margin-top:30px;
}

blockquote{
    background:#1e293b;
    padding:25px;
    border-left:5px solid #38bdf8;
    border-radius:15px;
    font-size:18px;
    color:#e2e8f0;
    font-style:italic;
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#38bdf8;
    border-radius:20px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

    .sidebar{
        display:none;
    }

    .main{
        margin-left:0;
        padding:20px;
    }

    .top-bar{
        flex-direction:column;
        gap:20px;
        align-items:flex-start;
    }

}

@media(max-width:600px){

    .stats,
    .action-grid{
        grid-template-columns:1fr;
    }

    table{
        font-size:14px;
    }

    .top-bar h1{
        font-size:28px;
    }

    .hero-card h3{
        font-size:28px;
    }

}