
/* ===========================
        DASHBOARD
=========================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');


body{

    html{
        scroll-behavior: smooth;
    }

    font-family:'Inter',sans-serif;
    background:#f8fafc;
    color:#333;
    overflow-x: hidden;

}
.dashboard-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 8%;

    background:white;

    box-shadow:0 2px 10px rgba(0,0,0,.08);

}

.dashboard-logo{

    font-size:1.5rem;

    font-weight:700;

    color:#5B4DFF;

}

.dashboard{

    width:90%;

    max-width:1200px;

    margin:40px auto;

}

.welcome-card{

    background:linear-gradient(135deg,#5B4DFF,#00C896);

    color:white;

    border-radius:20px;

    padding:40px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:40px;

}

.welcome-card h1{

    margin-bottom:10px;

}

.xp-box{

    background:white;

    color:#5B4DFF;

    padding:20px;

    border-radius:15px;

    font-size:1.3rem;

    font-weight:bold;

}

.daily-challenge{

    background:white;

    padding:35px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    margin-bottom:40px;

}

.daily-challenge h2{

    margin-bottom:15px;

}

.daily-challenge p{

    margin-bottom:25px;

}

.action-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:25px;

    margin-top:30px;

}

.action-card{

    background:white;

    border-radius:18px;

    padding:35px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

    cursor:pointer;

    font-size:3rem;

}

.action-card h3{

    margin-top:15px;

    font-size:1.1rem;

}

.action-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 35px rgba(91,77,255,.15);

}


/* ===========================
        LATEST FEED
=========================== */

.latest-feed{

    margin-top:60px;

}

.feed-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}

.feed-header a{

    text-decoration:none;

    color:#5B4DFF;

    font-weight:600;

}

.feed-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

}

.feed-card{

    background:white;

    padding:25px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.feed-card:hover{

    transform:translateY(-8px);

}

.feed-tag{

    display:inline-block;

    background:#EEF2FF;

    color:#5B4DFF;

    padding:6px 14px;

    border-radius:20px;

    font-size:.85rem;

    margin-bottom:15px;

    font-weight:600;

}

.feed-card h3{

    margin-bottom:15px;

}

.feed-card p{

    color:#666;

    line-height:1.7;

    margin-bottom:20px;

}

.read-btn{

    border:none;

    background:none;

    color:#5B4DFF;

    cursor:pointer;

    font-weight:600;

}



/* ===========================
        PROGRESS
=========================== */

.progress-section{

    margin-top:60px;

}

.progress-card{

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.progress-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.progress-bar{

    width:100%;

    height:14px;

    background:#E5E7EB;

    border-radius:30px;

    overflow:hidden;

    margin-bottom:20px;

}

.progress-fill{

    width:60%;

    height:100%;

    background:linear-gradient(90deg,#5B4DFF,#00C896);

    border-radius:30px;

}





/* ===========================
        BADGES
=========================== */

.badges-section{

    margin-top:60px;

}

.badges-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:30px;

}

.badge-card{

    background:white;

    border-radius:18px;

    padding:25px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.badge-card:hover{

    transform:translateY(-8px);

}

.badge-card{

    font-size:3rem;

}

.badge-card h3{

    margin:15px 0;

    font-size:1.2rem;

}

.badge-card p{

    color:#666;

    font-size:.95rem;

    line-height:1.6;

}

.locked{

    opacity:.45;

}

.earned{

    border:2px solid #00C896;

}


/* ===========================
        RECENT ACTIVITY
=========================== */

.activity-section{

    margin:60px 0;

}

.activity-card{

    background:white;

    border-radius:20px;

    padding:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.activity-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

    border-bottom:1px solid #eee;

}

.activity-item:last-child{

    border-bottom:none;

}

.activity-item span{

    color:#5B4DFF;

    font-weight:700;

}















