:root{--sidebar-bg:#1e3a5f;--sidebar-hover:#2a4d75;--sidebar-active:#2f5885;--sidebar-text:#cbd5e1;--main-bg:#f4f6f9;--card-bg:#fff;--border-color:#e2e8f0;--text-main:#1e293b;--text-muted:#64748b;--accent-orange:#e8794e;--accent-orange-light:#fdf2ec;--accent-orange-border:#f2c5ad;--button-blue:#1e3a5f;--button-blue-hover:#152b47}*,:before,:after{box-sizing:border-box;margin:0;padding:0;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif}body{-webkit-font-smoothing:antialiased}.dashboard-container,.student-dashboard{background-color:var(--main-bg)!important;width:100vw!important;height:100vh!important;color:var(--text-main)!important;display:flex!important;overflow:hidden!important}.sidebar{background-color:var(--sidebar-bg)!important;background:var(--sidebar-bg)!important;border:none!important;flex-direction:column!important;flex-shrink:0!important;width:260px!important;height:100%!important;padding:30px 20px!important;display:flex!important;overflow-y:auto!important;box-shadow:4px 0 15px #0000000d!important}.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-track{background:0 0}.sidebar::-webkit-scrollbar-thumb{background:#fff3;border-radius:10px}.sidebar h2{color:#fff!important;margin-bottom:30px!important;padding-left:10px!important;font-size:1.3rem!important;font-weight:700!important}.sidebar-menu{flex-direction:column!important;flex-grow:1!important;gap:6px!important;display:flex!important}.sidebar-link{width:100%!important;color:var(--sidebar-text)!important;cursor:pointer!important;text-align:left!important;background:0 0!important;border:1px solid #0000!important;border-radius:8px!important;align-items:center!important;padding:12px 16px!important;font-size:.95rem!important;font-weight:500!important;text-decoration:none!important;transition:all .2s!important;display:flex!important}.sidebar-link:hover{background:var(--sidebar-hover)!important;color:#fff!important}.sidebar-link.active{background:var(--sidebar-active)!important;color:#fff!important;border-color:#ffffff1a!important}.sidebar-link.sidebar-logout{color:#fca5a5!important;border:1px solid #fca5a54d!important;margin-top:auto!important}.sidebar-link.sidebar-logout:hover{color:#fecaca!important;background:#fca5a51a!important}.main-content{background-color:var(--main-bg)!important;flex-grow:1!important;height:100%!important;padding:40px!important;overflow-y:auto!important}.main-content::-webkit-scrollbar{width:8px}.main-content::-webkit-scrollbar-track{background:0 0}.main-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.header{justify-content:space-between!important;align-items:center!important;margin-bottom:35px!important;display:flex!important}.header h1{color:var(--text-main)!important;letter-spacing:-.5px!important;font-size:2rem!important;font-weight:800!important}.top-bar-right{align-items:center!important;gap:15px!important;display:flex!important}.top-streak-widget{background:var(--card-bg)!important;border:1px solid var(--border-color)!important;color:var(--text-main)!important;border-radius:30px!important;align-items:center!important;gap:8px!important;padding:8px 16px!important;font-size:.9rem!important;font-weight:700!important;display:flex!important}.user-nav-profile{background:var(--card-bg)!important;border:1px solid var(--border-color)!important;cursor:pointer!important;border-radius:30px!important;align-items:center!important;gap:12px!important;padding:6px 16px 6px 6px!important;display:flex!important}.user-avatar{object-fit:cover!important;border-radius:50%!important;width:36px!important;height:36px!important}.user-name{color:var(--text-main)!important;font-size:.9rem!important;font-weight:600!important}.activity-card{background:var(--card-bg)!important;border:1px solid var(--border-color)!important;border-left:4px solid var(--accent-orange)!important;border-radius:12px!important;margin-bottom:25px!important;padding:24px!important}.activity-header{justify-content:space-between!important;align-items:center!important;margin-bottom:20px!important;display:flex!important}.activity-header h3{color:var(--text-main)!important;font-size:1.15rem!important;font-weight:700!important}.activity-count{color:var(--text-muted)!important;font-size:.85rem!important}.activity-calendar-container{gap:10px!important;padding-bottom:10px!important;display:flex!important;overflow-x:auto!important}.day-labels{color:var(--text-muted)!important;text-align:right!important;grid-template-rows:repeat(7,12px)!important;gap:4px!important;margin-top:24px!important;padding-right:4px!important;font-size:.7rem!important;display:grid!important}.day-labels span{line-height:12px!important}.grid-and-months{flex-direction:column!important;gap:8px!important;display:flex!important}.month-labels{color:var(--text-muted)!important;height:16px!important;font-size:.75rem!important;display:flex!important;position:relative!important}.month-label{white-space:nowrap!important;position:absolute!important}.activity-grid{grid-template-rows:repeat(7,12px)!important;grid-auto-columns:12px!important;grid-auto-flow:column!important;gap:4px!important;display:grid!important}.day-sq{cursor:pointer!important;background-color:#e9eef2!important;border-radius:3px!important;width:12px!important;height:12px!important;transition:transform .15s!important}.day-sq:hover{z-index:10!important;outline:1px solid #0000001a!important;transform:scale(1.3)!important}.level-0{background-color:#e9eef2!important}.level-1{background-color:#fbd5c1!important}.level-2{background-color:#f4a985!important}.level-3{background-color:var(--accent-orange)!important}.activity-footer{color:var(--text-muted)!important;justify-content:flex-end!important;align-items:center!important;gap:6px!important;margin-top:15px!important;font-size:.75rem!important;display:flex!important}.legend-box{border-radius:2px!important;width:10px!important;height:10px!important}.cards-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:20px!important;display:grid!important}.card{border:1px solid var(--border-color);background:var(--card-bg)!important;border-radius:12px!important;flex-direction:column!important;justify-content:space-between!important;padding:24px!important;transition:all .2s!important;display:flex!important;box-shadow:0 4px 12px #00000008!important}.card-header{justify-content:space-between!important;align-items:center!important;margin-bottom:16px!important;display:flex!important}.card-title{color:var(--text-main)!important;font-size:1.1rem!important;font-weight:700!important}.card-badge{background:var(--accent-orange-light)!important;color:var(--accent-orange)!important;border-radius:20px!important;padding:4px 12px!important;font-size:.75rem!important;font-weight:700!important}.card-body{color:var(--text-muted)!important;margin-bottom:24px!important;font-size:.9rem!important;line-height:1.6!important}.card-action{background:var(--button-blue)!important;color:#fff!important;text-align:center!important;cursor:pointer!important;border:none!important;border-radius:8px!important;width:100%!important;padding:12px 16px!important;font-size:.9rem!important;font-weight:600!important;text-decoration:none!important;transition:background .2s!important;display:inline-block!important}.card-action:hover{background:var(--button-blue-hover)!important}.streak-card{background:var(--accent-orange-light)!important;border:1px solid var(--accent-orange-border)!important;border-left:4px solid var(--accent-orange)!important}.streak-card .card-title,.streak-card .card-body{color:var(--text-main)!important}.streak-card .card-badge{background:var(--accent-orange)!important;color:#fff!important}.streak-icon{margin-right:6px!important;font-size:1.1rem!important;display:inline-block!important}@media (max-width:768px){.dashboard-container,.student-dashboard{flex-direction:column!important;height:auto!important;overflow:visible!important}.sidebar{border-bottom:2px solid var(--border-color)!important;width:100%!important;height:auto!important;padding:20px!important;overflow-y:visible!important}.sidebar-menu{flex-direction:row!important;padding-bottom:10px!important;overflow-x:auto!important}.sidebar-link{white-space:nowrap!important;width:auto!important;padding:8px 16px!important}.sidebar-link.sidebar-logout{border-color:#0000!important;margin-top:0!important}.main-content{height:auto!important;padding:24px 20px!important;overflow-y:visible!important}.header{flex-direction:column!important;align-items:flex-start!important;gap:20px!important}.top-bar-right{justify-content:space-between!important;width:100%!important}}
