/* ==========================================================
   Student LeetCode Tracker
   File: student.css
   Part: 1
   Compatible with:
   - student_page.html
   - student.js
   - common.js
   - storage.js

   NOTE:
   Continue using the existing HTML IDs/classes.
   Do NOT rename selectors already used by JS.
   ========================================================== */


/* ==========================================================
   RESET
   ========================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    min-height:100vh;

    font-family:
        "Inter",
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background:#f4f7fb;

    color:#1f2937;

    overflow-x:hidden;

}


/* ==========================================================
   ROOT VARIABLES
   ========================================================== */

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;
    --secondary:#0ea5e9;

    --success:#10b981;
    --warning:#f59e0b;
    --danger:#ef4444;

    --purple:#8b5cf6;
    --cyan:#06b6d4;

    --text:#1f2937;
    --text-light:#64748b;

    --border:#e5e7eb;

    --card:#ffffff;

    --sidebar:#0f172a;

    --sidebar-light:#1e293b;

    --shadow:

        0 18px 40px rgba(15,23,42,.08);

    --radius:18px;

}


/* ==========================================================
   LAYOUT
   ========================================================== */

.dashboard{

    display:flex;

    width:100%;

    min-height:100vh;

}


/* ==========================================================
   SIDEBAR
   ========================================================== */

.sidebar{

    width:270px;

    min-height:100vh;

    background:linear-gradient(
        180deg,
        #0f172a,
        #111827,
        #020617
    );

    color:#ffffff;

    position:fixed;

    left:0;

    top:0;

    z-index:1000;

    display:flex;

    flex-direction:column;

    box-shadow:
        8px 0 30px rgba(0,0,0,.18);

}


/* ==========================================================
   BRAND
   ========================================================== */

.sidebar-brand{

    padding:28px 22px;

    border-bottom:

        1px solid rgba(255,255,255,.08);

    display:flex;

    align-items:center;

    gap:16px;

}

.sidebar-logo{

    width:54px;

    height:54px;

    border-radius:16px;

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    color:#ffffff;

    font-weight:700;

}

.sidebar-title{

    display:flex;

    flex-direction:column;

}

.sidebar-title h2{

    font-size:18px;

    font-weight:700;

    color:#ffffff;

}

.sidebar-title p{

    font-size:13px;

    color:#cbd5e1;

    margin-top:4px;

}


/* ==========================================================
   PROFILE PANEL
   ========================================================== */

.student-profile{

    padding:24px 20px;

    display:flex;

    flex-direction:column;

    align-items:center;

    border-bottom:

        1px solid rgba(255,255,255,.08);

}

.student-avatar{

    width:90px;

    height:90px;

    border-radius:50%;

    background:

        linear-gradient(
            135deg,
            #2563eb,
            #06b6d4
        );

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    font-weight:700;

    color:#ffffff;

    border:5px solid rgba(255,255,255,.08);

    box-shadow:

        0 12px 30px rgba(37,99,235,.35);

}

.student-name{

    margin-top:18px;

    font-size:18px;

    font-weight:700;

    text-align:center;

}

.student-roll{

    margin-top:6px;

    color:#94a3b8;

    font-size:14px;

}

.student-badge{

    margin-top:16px;

    padding:8px 16px;

    border-radius:999px;

    background:rgba(16,185,129,.18);

    color:#6ee7b7;

    font-size:13px;

    font-weight:700;

    letter-spacing:.03em;

}


/* ==========================================================
   SIDEBAR MENU
   ========================================================== */

.sidebar-menu{

    flex:1;

    padding:18px 0;

    overflow-y:auto;

}

.sidebar-menu::-webkit-scrollbar{

    width:6px;

}

.sidebar-menu::-webkit-scrollbar-thumb{

    background:rgba(255,255,255,.10);

    border-radius:20px;

}

.sidebar-menu ul{

    list-style:none;

}

.sidebar-menu li{

    width:100%;

}

.sidebar-menu a{

    text-decoration:none;

    color:#cbd5e1;

    display:flex;

    align-items:center;

    gap:16px;

    padding:15px 22px;

    margin:4px 14px;

    border-radius:14px;

    transition:
        .30s;

    font-size:15px;

    font-weight:600;

}

.sidebar-menu a i{

    width:22px;

    text-align:center;

    font-size:18px;

}

.sidebar-menu a:hover{

    background:

        rgba(255,255,255,.08);

    color:#ffffff;

    transform:translateX(4px);

}

.sidebar-menu a.active{

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color:#ffffff;

    box-shadow:

        0 12px 25px rgba(37,99,235,.30);

}


/* ==========================================================
   SIDEBAR FOOTER
   ========================================================== */

.sidebar-footer{

    padding:22px;

    border-top:

        1px solid rgba(255,255,255,.08);

}

.logout-btn{

    width:100%;

    border:none;

    outline:none;

    height:50px;

    border-radius:14px;

    cursor:pointer;

    background:#ef4444;

    color:#ffffff;

    font-size:15px;

    font-weight:700;

    transition:.30s;

}

.logout-btn:hover{

    background:#dc2626;

    transform:translateY(-2px);

}


/* ==========================================================
   MAIN CONTENT
   ========================================================== */

.main-content{

    margin-left:270px;

    width:calc(100% - 270px);

    min-height:100vh;

    display:flex;

    flex-direction:column;

}


/* ==========================================================
   TOP HEADER
   ========================================================== */

.top-header{

    height:78px;

    background:#ffffff;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 34px;

    border-bottom:1px solid var(--border);

    position:sticky;

    top:0;

    z-index:100;

}

.header-left{

    display:flex;

    flex-direction:column;

}

.header-left h1{

    font-size:28px;

    color:var(--text);

    font-weight:700;

}

.header-left p{

    margin-top:4px;

    color:var(--text-light);

    font-size:14px;

}

.header-right{

    display:flex;

    align-items:center;

    gap:16px;

}


/* ==========================================================
   HEADER BUTTONS
   ========================================================== */

.header-btn{

    width:46px;

    height:46px;

    border-radius:14px;

    border:1px solid var(--border);

    background:#ffffff;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.30s;

    position:relative;

}

.header-btn:hover{

    background:#eff6ff;

    border-color:#bfdbfe;

}

.header-btn i{

    font-size:18px;

    color:#334155;

}

.notification-count{

    position:absolute;

    top:-5px;

    right:-5px;

    width:20px;

    height:20px;

    border-radius:50%;

    background:#ef4444;

    color:#ffffff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:11px;

    font-weight:700;

}
/* ==========================================================
   Student LeetCode Tracker
   File: student.css
   Part: 2
   Continues from Part 1
   ========================================================== */


/* ==========================================================
   PAGE CONTENT
   ========================================================== */

.page-content{

    flex:1;

    padding:32px;

    display:flex;

    flex-direction:column;

    gap:28px;

}


/* ==========================================================
   WELCOME BANNER
   ========================================================== */

.welcome-banner{

    position:relative;

    overflow:hidden;

    border-radius:22px;

    padding:34px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0ea5e9,
            #06b6d4
        );

    color:#ffffff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:24px;

    box-shadow:var(--shadow);

}

.welcome-banner::before{

    content:"";

    position:absolute;

    width:340px;

    height:340px;

    right:-120px;

    top:-140px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}

.welcome-banner::after{

    content:"";

    position:absolute;

    width:220px;

    height:220px;

    left:-80px;

    bottom:-90px;

    border-radius:50%;

    background:rgba(255,255,255,.06);

}

.welcome-content{

    position:relative;

    z-index:2;

}

.welcome-content h2{

    font-size:32px;

    font-weight:700;

}

.welcome-content p{

    margin-top:12px;

    max-width:620px;

    line-height:1.8;

    color:#dbeafe;

    font-size:15px;

}

.welcome-actions{

    position:relative;

    z-index:2;

    display:flex;

    gap:16px;

    flex-wrap:wrap;

}

.primary-btn,
.secondary-btn{

    height:50px;

    padding:0 22px;

    border:none;

    border-radius:14px;

    cursor:pointer;

    font-size:15px;

    font-weight:700;

    transition:.30s;

    display:flex;

    align-items:center;

    gap:10px;

}

.primary-btn{

    background:#ffffff;

    color:#2563eb;

}

.primary-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 14px 28px rgba(255,255,255,.22);

}

.secondary-btn{

    background:rgba(255,255,255,.15);

    color:#ffffff;

    border:1px solid rgba(255,255,255,.20);

}

.secondary-btn:hover{

    background:rgba(255,255,255,.24);

}


/* ==========================================================
   STATS GRID
   ========================================================== */

.stats-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:24px;

}


/* ==========================================================
   STAT CARD
   ========================================================== */

.stat-card{

    background:var(--card);

    border-radius:20px;

    padding:24px;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

    position:relative;

    overflow:hidden;

    transition:.35s;

}

.stat-card:hover{

    transform:translateY(-6px);

    box-shadow:
        0 28px 50px rgba(15,23,42,.12);

}

.stat-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

}

.stat-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.stat-title{

    font-size:15px;

    color:var(--text-light);

    font-weight:600;

}

.stat-icon{

    width:52px;

    height:52px;

    border-radius:16px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:22px;

    color:#ffffff;

}

.icon-blue{

    background:linear-gradient(135deg,#2563eb,#3b82f6);

}

.icon-green{

    background:linear-gradient(135deg,#10b981,#34d399);

}

.icon-orange{

    background:linear-gradient(135deg,#f59e0b,#fbbf24);

}

.icon-purple{

    background:linear-gradient(135deg,#8b5cf6,#a855f7);

}

.stat-value{

    margin-top:22px;

    font-size:38px;

    font-weight:700;

    color:var(--text);

}

.stat-description{

    margin-top:8px;

    color:var(--text-light);

    font-size:14px;

    line-height:1.7;

}

.stat-footer{

    margin-top:22px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.stat-change{

    display:flex;

    align-items:center;

    gap:8px;

    font-size:14px;

    font-weight:700;

}

.stat-change.up{

    color:var(--success);

}

.stat-change.down{

    color:var(--danger);

}

.stat-extra{

    color:var(--text-light);

    font-size:13px;

}


/* ==========================================================
   PROGRESS BAR
   ========================================================== */

.progress-wrapper{

    margin-top:18px;

}

.progress-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:10px;

}

.progress-title{

    font-size:14px;

    color:var(--text-light);

}

.progress-value{

    font-size:14px;

    font-weight:700;

    color:var(--primary);

}

.progress-track{

    width:100%;

    height:12px;

    border-radius:999px;

    background:#e5e7eb;

    overflow:hidden;

}

.progress-fill{

    height:100%;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        #2563eb,
        #06b6d4
    );

    width:0;

    transition:width .8s ease;

}


/* ==========================================================
   DASHBOARD GRID
   ========================================================== */

.dashboard-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:24px;

    align-items:start;

}


/* ==========================================================
   COMMON CARD
   ========================================================== */

.dashboard-card{

    background:#ffffff;

    border-radius:20px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    padding:26px;

}

.dashboard-card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

}

.dashboard-card-title{

    font-size:20px;

    font-weight:700;

    color:var(--text);

}

.dashboard-card-subtitle{

    font-size:14px;

    color:var(--text-light);

    margin-top:5px;

}

.card-action{

    border:none;

    background:#eff6ff;

    color:var(--primary);

    padding:10px 16px;

    border-radius:12px;

    cursor:pointer;

    font-weight:600;

    transition:.30s;

}

.card-action:hover{

    background:#dbeafe;

}


/* ==========================================================
   PLACEMENT READINESS
   ========================================================== */

.readiness-card{

    display:flex;

    flex-direction:column;

    gap:22px;

}

.readiness-score{

    display:flex;

    justify-content:center;

    align-items:center;

    width:170px;

    height:170px;

    margin:auto;

    border-radius:50%;

    background:
        radial-gradient(
            circle,
            #ffffff 58%,
            transparent 59%
        ),
        conic-gradient(
            #10b981 0deg,
            #10b981 250deg,
            #e5e7eb 250deg,
            #e5e7eb 360deg
        );

    font-size:38px;

    font-weight:700;

    color:#10b981;

}

.readiness-label{

    text-align:center;

    font-size:16px;

    font-weight:700;

    color:var(--text);

}

.readiness-message{

    text-align:center;

    color:var(--text-light);

    line-height:1.8;

    font-size:14px;

}

.readiness-list{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.readiness-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 16px;

    border-radius:14px;

    background:#f8fafc;

    border:1px solid #eef2f7;

}

.readiness-item span{

    font-size:14px;

    color:var(--text);

    font-weight:600;

}

.readiness-item strong{

    color:var(--primary);

    font-size:14px;

}
/* ==========================================================
   Student LeetCode Tracker
   File: student.css
   Part: 3
   Continues from Part 2
   ========================================================== */


/* ==========================================================
   ANALYTICS SECTION
   ========================================================== */

.analytics-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:24px;

    align-items:start;

}

.analytics-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    padding:24px;

    box-shadow:var(--shadow);

    overflow:hidden;

    position:relative;

}

.analytics-card-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:24px;

}

.analytics-card-title{

    font-size:20px;

    font-weight:700;

    color:var(--text);

}

.analytics-card-subtitle{

    margin-top:6px;

    font-size:14px;

    color:var(--text-light);

}


/* ==========================================================
   CHART CONTAINER
   ========================================================== */

.chart-container{

    width:100%;

    min-height:360px;

    position:relative;

}

.chart-placeholder{

    width:100%;

    min-height:320px;

    display:flex;

    align-items:center;

    justify-content:center;

    border:2px dashed #dbe3ef;

    border-radius:18px;

    background:#f8fbff;

    color:var(--text-light);

    font-size:15px;

}


/* ==========================================================
   LEETCODE SUMMARY
   ========================================================== */

.leetcode-summary{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.leetcode-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 18px;

    border-radius:16px;

    background:#f8fafc;

    border:1px solid #edf2f7;

    transition:.30s;

}

.leetcode-item:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(15,23,42,.08);

}

.leetcode-label{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:15px;

    font-weight:600;

    color:var(--text);

}

.leetcode-label i{

    color:var(--primary);

    font-size:18px;

}

.leetcode-value{

    font-size:18px;

    font-weight:700;

    color:var(--primary);

}


/* ==========================================================
   RECENT ACTIVITY
   ========================================================== */

.activity-card{

    background:var(--card);

    border-radius:20px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    padding:24px;

}

.activity-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.activity-item{

    display:flex;

    align-items:flex-start;

    gap:16px;

}

.activity-icon{

    width:46px;

    height:46px;

    border-radius:14px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#ffffff;

    font-size:18px;

    flex-shrink:0;

}

.activity-blue{

    background:linear-gradient(135deg,#2563eb,#3b82f6);

}

.activity-green{

    background:linear-gradient(135deg,#10b981,#34d399);

}

.activity-orange{

    background:linear-gradient(135deg,#f59e0b,#fbbf24);

}

.activity-purple{

    background:linear-gradient(135deg,#8b5cf6,#a855f7);

}

.activity-content{

    flex:1;

}

.activity-title{

    font-size:15px;

    font-weight:700;

    color:var(--text);

}

.activity-description{

    margin-top:5px;

    font-size:14px;

    line-height:1.7;

    color:var(--text-light);

}

.activity-time{

    margin-top:8px;

    font-size:13px;

    color:#94a3b8;

}


/* ==========================================================
   LEADERBOARD
   ========================================================== */

.leaderboard-card{

    background:var(--card);

    border-radius:20px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    padding:24px;

}

.leaderboard-list{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.leaderboard-item{

    display:grid;

    grid-template-columns:50px 1fr auto;

    align-items:center;

    gap:16px;

    padding:14px 16px;

    border-radius:16px;

    transition:.30s;

    background:#f8fafc;

    border:1px solid #edf2f7;

}

.leaderboard-item:hover{

    background:#eff6ff;

    transform:translateX(4px);

}

.rank-badge{

    width:40px;

    height:40px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#ffffff;

    font-weight:700;

}

.rank-gold{

    background:#f59e0b;

}

.rank-silver{

    background:#94a3b8;

}

.rank-bronze{

    background:#b45309;

}

.rank-normal{

    background:#2563eb;

}

.leaderboard-user{

    display:flex;

    flex-direction:column;

}

.leaderboard-name{

    font-size:15px;

    font-weight:700;

    color:var(--text);

}

.leaderboard-detail{

    margin-top:4px;

    color:var(--text-light);

    font-size:13px;

}

.leaderboard-score{

    font-size:18px;

    font-weight:700;

    color:var(--primary);

}


/* ==========================================================
   ANNOUNCEMENTS
   ========================================================== */

.announcement-card{

    background:var(--card);

    border-radius:20px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    padding:24px;

}

.announcement-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.announcement-item{

    border-left:5px solid var(--primary);

    background:#f8fbff;

    border-radius:16px;

    padding:18px 20px;

}

.announcement-title{

    font-size:16px;

    font-weight:700;

    color:var(--text);

}

.announcement-message{

    margin-top:8px;

    color:var(--text-light);

    line-height:1.8;

    font-size:14px;

}

.announcement-footer{

    margin-top:12px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:13px;

    color:#94a3b8;

}


/* ==========================================================
   FEEDBACK SECTION
   ========================================================== */

.feedback-card{

    background:var(--card);

    border-radius:20px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    padding:24px;

}

.feedback-item{

    padding:18px;

    border-radius:16px;

    background:#f8fafc;

    border:1px solid #edf2f7;

    margin-bottom:16px;

}

.feedback-item:last-child{

    margin-bottom:0;

}

.feedback-author{

    font-size:15px;

    font-weight:700;

    color:var(--primary);

}

.feedback-date{

    margin-top:4px;

    font-size:13px;

    color:#94a3b8;

}

.feedback-message{

    margin-top:14px;

    line-height:1.8;

    color:var(--text);

    font-size:14px;

}


/* ==========================================================
   COMMON TABLE
   ========================================================== */

.table-responsive{

    width:100%;

    overflow-x:auto;

}

.dashboard-table{

    width:100%;

    border-collapse:collapse;

}

.dashboard-table th{

    background:#eff6ff;

    color:var(--primary);

    padding:15px;

    text-align:left;

    font-size:14px;

    font-weight:700;

}

.dashboard-table td{

    padding:15px;

    border-bottom:1px solid var(--border);

    color:var(--text);

    font-size:14px;

}

.dashboard-table tbody tr{

    transition:.25s;

}

.dashboard-table tbody tr:hover{

    background:#f8fbff;

}
/* ==========================================================
   Student LeetCode Tracker
   File: student.css
   Part: 4 (Final)
   Compatible with:
   - student_page.html
   - student.js
   - common.js
   ========================================================== */


/* ==========================================================
   PROFILE INFORMATION CARD
   ========================================================== */

.profile-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:20px;

    box-shadow:var(--shadow);

    padding:28px;

}

.profile-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:24px;

}

.profile-item{

    display:flex;

    flex-direction:column;

    gap:8px;

}

.profile-label{

    font-size:13px;

    font-weight:600;

    color:var(--text-light);

    text-transform:uppercase;

    letter-spacing:.04em;

}

.profile-value{

    font-size:16px;

    font-weight:700;

    color:var(--text);

    word-break:break-word;

}


/* ==========================================================
   BADGES
   ========================================================== */

.badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 16px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

}

.badge-success{

    background:rgba(16,185,129,.12);

    color:var(--success);

}

.badge-warning{

    background:rgba(245,158,11,.12);

    color:var(--warning);

}

.badge-danger{

    background:rgba(239,68,68,.12);

    color:var(--danger);

}

.badge-primary{

    background:rgba(37,99,235,.10);

    color:var(--primary);

}


/* ==========================================================
   EMPTY STATE
   ========================================================== */

.empty-state{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:18px;

    min-height:260px;

    text-align:center;

}

.empty-state i{

    font-size:60px;

    color:#cbd5e1;

}

.empty-state h3{

    font-size:22px;

    color:var(--text);

}

.empty-state p{

    max-width:460px;

    color:var(--text-light);

    line-height:1.8;

}


/* ==========================================================
   LOADING STATE
   ========================================================== */

.loading-spinner{

    width:52px;

    height:52px;

    border-radius:50%;

    border:4px solid #dbeafe;

    border-top-color:var(--primary);

    animation:studentSpin .9s linear infinite;

}

@keyframes studentSpin{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}


/* ==========================================================
   TOAST
   ========================================================== */

.toast{

    position:fixed;

    right:24px;

    bottom:24px;

    min-width:300px;

    max-width:380px;

    padding:18px 20px;

    border-radius:16px;

    color:#ffffff;

    font-weight:600;

    display:flex;

    align-items:center;

    gap:14px;

    box-shadow:0 20px 40px rgba(0,0,0,.20);

    z-index:5000;

    animation:toastSlide .35s ease;

}

.toast-success{

    background:#10b981;

}

.toast-error{

    background:#ef4444;

}

.toast-warning{

    background:#f59e0b;

}

.toast-info{

    background:#2563eb;

}

@keyframes toastSlide{

    from{

        opacity:0;

        transform:translateX(40px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}


/* ==========================================================
   ANIMATIONS
   ========================================================== */

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(18px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes zoomIn{

    from{

        opacity:0;

        transform:scale(.96);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

.fade-in{

    animation:fadeIn .45s ease;

}

.zoom-in{

    animation:zoomIn .35s ease;

}


/* ==========================================================
   UTILITIES
   ========================================================== */

.text-center{

    text-align:center;

}

.text-left{

    text-align:left;

}

.text-right{

    text-align:right;

}

.d-flex{

    display:flex;

}

.align-center{

    align-items:center;

}

.justify-between{

    justify-content:space-between;

}

.flex-column{

    flex-direction:column;

}

.flex-wrap{

    flex-wrap:wrap;

}

.gap-10{

    gap:10px;

}

.gap-20{

    gap:20px;

}

.gap-30{

    gap:30px;

}

.mt-10{

    margin-top:10px;

}

.mt-20{

    margin-top:20px;

}

.mt-30{

    margin-top:30px;

}

.mb-20{

    margin-bottom:20px;

}

.w-100{

    width:100%;

}

.hidden{

    display:none !important;

}

.visible{

    display:block !important;

}


/* ==========================================================
   SCROLLBAR
   ========================================================== */

::-webkit-scrollbar{

    width:10px;

    height:10px;

}

::-webkit-scrollbar-track{

    background:#edf2f7;

}

::-webkit-scrollbar-thumb{

    background:#94a3b8;

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#64748b;

}


/* ==========================================================
   TEXT SELECTION
   ========================================================== */

::selection{

    background:var(--primary);

    color:#ffffff;

}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width:1200px){

    .dashboard-grid,
    .analytics-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:992px){

    .sidebar{

        width:90px;

    }

    .sidebar-title,
    .student-name,
    .student-roll,
    .student-badge{

        display:none;

    }

    .sidebar-menu a{

        justify-content:center;

        padding:16px;

    }

    .sidebar-menu a span{

        display:none;

    }

    .main-content{

        margin-left:90px;

        width:calc(100% - 90px);

    }

}

@media (max-width:768px){

    .page-content{

        padding:20px;

    }

    .top-header{

        padding:0 20px;

        flex-direction:column;

        justify-content:center;

        align-items:flex-start;

        height:auto;

        gap:12px;

        padding-top:18px;

        padding-bottom:18px;

    }

    .welcome-banner{

        flex-direction:column;

        align-items:flex-start;

    }

    .welcome-content h2{

        font-size:26px;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

    .profile-grid{

        grid-template-columns:1fr;

    }

}

@media (max-width:576px){

    .sidebar{

        display:none;

    }

    .main-content{

        margin-left:0;

        width:100%;

    }

    .page-content{

        padding:16px;

    }

    .dashboard-card,
    .analytics-card,
    .activity-card,
    .leaderboard-card,
    .announcement-card,
    .feedback-card,
    .profile-card{

        padding:18px;

    }

    .stat-value{

        font-size:30px;

    }

    .welcome-content h2{

        font-size:22px;

    }

    .toast{

        right:16px;

        left:16px;

        min-width:auto;

        max-width:none;

    }

}

@media (prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}


/* ==========================================================
   END OF student.css
   Total Parts : 4
   Status      : COMPLETE
   ========================================================== */