/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

body{
    background:#f5f7fb;
}

/* Navbar */
.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:var(--card);
    box-shadow:var(--shadow);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    color:var(--primary);
    font-size:28px;
    font-weight:700;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:var(--text);
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{
    color:var(--primary);
}

.theme-btn{
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    color:#fff;
    font-size:20px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .35s ease;
    box-shadow:0 8px 20px rgba(79,70,229,.35);
}

.theme-btn:hover{
    transform:rotate(180deg) scale(1.1);
    box-shadow:0 12px 28px rgba(79,70,229,.5);
}

.theme-btn:active{
    transform:scale(.9);
}

/* Dashboard */
.dashboard{
    padding:40px;
}

/* Welcome */
.welcome h1{
    font-size:36px;
    color:#111;
}

.welcome p{
    color:#666;
    margin-top:5px;
}

/* Stats */
.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
    gap:20px;
    margin-top:30px;
}

.card{
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    text-align:center;
    transition:0.3s;
}

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

.card h2{
    font-size:32px;
    color:#4f46e5;
}

/* Actions */
.actions{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
    gap:20px;
}

.actions button{
    padding:15px;
    border:none;
    border-radius:12px;
    background:#4f46e5;
    color:#fff;
    font-weight:600;
    cursor:pointer;
    transition:0.3s;
}

.actions button:hover{
    background:#4338ca;
    transform:scale(1.03);
}

/* Activity */
.activity{
    margin-top:40px;
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.activity h2{
    margin-bottom:15px;
}

.activity ul{
    list-style:none;
}

.activity li{
    padding:10px 0;
    border-bottom:1px solid #eee;
    color:#444;
}


/*Analytics Section */

.analytics{
    margin-top:40px;
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.analytics h2{
    margin-bottom:20px;
}

.chart-box{
    display:flex;
    align-items:flex-end;
    gap:15px;
    height:200px;
}

.bar{
    flex:1;
    background:#4f46e5;
    border-radius:8px;
    transition:0.3s;
}

.bar:hover{
    background:#4338ca;
    transform:scaleY(1.1);
}

/* Notifications */

.notifications{
    margin-top:30px;
    background:#fff;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.notifications h2{
    margin-bottom:15px;
}

.notifications ul{
    list-style:none;
}

.notifications li{
    padding:10px 0;
    border-bottom:1px solid #eee;
    color:#444;
}

/*Profile Card */

.profile-card{
    margin-top:30px;
    text-align:center;
    background:#fff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.profile-card img{
    border-radius:50%;
    margin-bottom:10px;
}

.profile-card h2{
    margin-bottom:5px;
}

.profile-card p{
    color:#666;
    margin-bottom:15px;
}

.profile-card button{
    padding:10px 20px;
    border:none;
    background:#4f46e5;
    color:#fff;
    border-radius:10px;
    cursor:pointer;
}

.profile-card button:hover{
    background:#4338ca;
}