@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap";:root{--primary: #9966cc;--primary-light: #b088dd;--primary-dark: #7744aa;--primary-bg: #f3eef9;--accent: #f59e0b;--accent-light: #fbbf24;--success: #22c55e;--success-bg: #f0fdf4;--warning: #f59e0b;--warning-bg: #fffbeb;--danger: #ef4444;--danger-bg: #fef2f2;--info: #3b82f6;--info-bg: #eff6ff;--bg: #fafbfc;--bg-card: #ffffff;--bg-dark: #111827;--text: #1f2937;--text-secondary: #6b7280;--text-muted: #9ca3af;--text-light: #ffffff;--border: #e5e7eb;--border-light: #f3f4f6;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);--radius-sm: 6px;--radius: 12px;--radius-lg: 16px;--radius-xl: 24px;--font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;--font-mono: "JetBrains Mono", monospace}[data-theme=dark]{--primary: #b088dd;--primary-light: #c9a8eb;--primary-dark: #9966cc;--primary-bg: #2d2640;--bg: #1a1625;--bg-card: #241f31;--bg-dark: #0f0d14;--text: #f0edf5;--text-secondary: #a8a3b3;--text-muted: #6b6578;--border: #3d3650;--border-light: #2d2640;--success-bg: #1a2e1a;--warning-bg: #2e2a1a;--danger-bg: #2e1a1a;--info-bg: #1a1a2e}*{margin:0;padding:0;box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{font-family:var(--font-sans);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}input,select,textarea,button{font-family:var(--font-sans)}.loading-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;background:var(--bg)}.loader{width:48px;height:48px;border:4px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-page{min-height:100vh;display:flex;background:linear-gradient(135deg,var(--primary-dark) 0%,var(--primary) 50%,var(--primary-light) 100%);position:relative;overflow:hidden}.login-page:before{content:"";position:absolute;top:-50%;right:-50%;width:100%;height:100%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:float 15s ease-in-out infinite}.login-page:after{content:"";position:absolute;bottom:-30%;left:-30%;width:80%;height:80%;background:radial-gradient(circle,rgba(245,158,11,.15) 0%,transparent 60%);animation:float 20s ease-in-out infinite reverse}@keyframes float{0%,to{transform:translate(0) rotate(0)}33%{transform:translate(30px,-30px) rotate(5deg)}66%{transform:translate(-20px,20px) rotate(-3deg)}}.login-container{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;position:relative;z-index:1}.login-card{background:var(--bg-card);border-radius:var(--radius-xl);padding:3rem;width:100%;max-width:440px;box-shadow:var(--shadow-xl);animation:slideUp .6s ease-out}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.login-logo{text-align:center;margin-bottom:2rem}.login-logo h1{font-size:2rem;font-weight:800;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.02em}.login-logo p{color:var(--text-secondary);font-size:.95rem;margin-top:.5rem}.login-form{display:flex;flex-direction:column;gap:1.5rem}.input-group{display:flex;flex-direction:column;gap:.5rem}.input-group label{font-weight:600;font-size:.875rem;color:var(--text)}.input-group input{padding:.875rem 1rem;border:2px solid var(--border);border-radius:var(--radius);font-size:1rem;font-family:var(--font-mono);letter-spacing:.05em;text-transform:uppercase;transition:all .2s ease;background:var(--bg);color:var(--text)}.input-group input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px var(--primary-bg)}.input-group input::placeholder{text-transform:none;letter-spacing:normal;font-family:var(--font-sans);color:var(--text-muted)}.login-btn{padding:1rem;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);color:#fff;border:none;border-radius:var(--radius);font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.login-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px -5px #0f766e66}.login-btn:disabled{opacity:.7;cursor:not-allowed}.login-error{background:var(--danger-bg);color:var(--danger);padding:.75rem 1rem;border-radius:var(--radius-sm);font-size:.875rem;display:flex;align-items:center;gap:.5rem}.layout{display:flex;min-height:100vh}.sidebar{width:280px;background:var(--bg-dark);color:var(--text-light);padding:1.5rem;display:flex;flex-direction:column;position:fixed;height:100vh;z-index:100;transition:transform .3s ease}.sidebar-header{padding-bottom:1.5rem;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:1.5rem}.sidebar-logo{font-size:1.5rem;font-weight:800;color:var(--primary-light);letter-spacing:-.02em}.sidebar-user{margin-top:1rem;display:flex;align-items:center;gap:.75rem}.user-avatar{width:44px;height:44px;background:linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.1rem}.user-info h3{font-size:1rem;font-weight:600}.user-info p{font-size:.8rem;color:#fff9}.sidebar-nav{flex:1;display:flex;flex-direction:column;gap:.5rem}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-radius:var(--radius);color:#ffffffb3;text-decoration:none;font-weight:500;transition:all .2s ease}.nav-link:hover{background:#ffffff1a;color:#fff}.nav-link.active{background:var(--primary);color:#fff}.nav-link svg{width:20px;height:20px}.sidebar-footer{padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1)}.logout-btn{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;width:100%;background:transparent;border:1px solid rgba(255,255,255,.2);border-radius:var(--radius);color:#ffffffb3;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s ease}.logout-btn:hover{background:#ef444433;border-color:var(--danger);color:var(--danger)}.main-content{flex:1;margin-left:280px;padding:2rem;min-height:100vh}.mobile-header{display:none;position:fixed;top:0;left:0;right:0;height:64px;background:var(--bg-dark);padding:0 1rem;align-items:center;justify-content:space-between;z-index:99}.mobile-logo{font-size:1.25rem;font-weight:800;color:var(--primary-light)}.mobile-menu-btn{background:transparent;border:none;color:#fff;padding:.5rem;cursor:pointer}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:99}@media (max-width: 900px){.mobile-header{display:flex}.sidebar{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-overlay.open{display:block}.main-content{margin-left:0;padding-top:80px}}.page-header{margin-bottom:2rem}.page-title{font-size:1.75rem;font-weight:700;color:var(--text);letter-spacing:-.02em}.page-subtitle{color:var(--text-secondary);margin-top:.25rem}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:var(--bg-card);border-radius:var(--radius-lg);padding:1rem 1.25rem;box-shadow:var(--shadow);display:flex;align-items:center;gap:.875rem;transition:all .2s ease}.stat-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.stat-icon{width:40px;height:40px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-shrink:0}.stat-icon.primary{background:var(--primary-bg);color:var(--primary)}.stat-icon.success{background:var(--success-bg);color:var(--success)}.stat-icon.warning{background:var(--warning-bg);color:var(--warning)}.stat-icon.info{background:var(--info-bg);color:var(--info)}.stat-content h3{font-size:.85rem;font-weight:500;color:var(--text-secondary);margin-bottom:.25rem}.stat-content{display:flex;flex-direction:column;gap:.25rem}.stat-value{font-size:1.4rem;font-weight:700;color:var(--text);line-height:1.2}.stat-label{font-size:.75rem;font-weight:500;color:var(--text-secondary)}.stat-change{font-size:.8rem;font-weight:500;margin-top:.25rem}.stat-change.positive{color:var(--success)}.stat-change.negative{color:var(--danger)}.card{background:var(--bg-card);border-radius:var(--radius-lg);box-shadow:var(--shadow);overflow:hidden}.card-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.card-title{font-size:1.1rem;font-weight:600;color:var(--text)}.card-body{padding:1.5rem}.progress-chart{height:300px;display:flex;align-items:center;justify-content:center}.topics-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.topic-card{padding:1rem;background:var(--bg);border-radius:var(--radius);border:1px solid var(--border)}.topic-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}.topic-name{font-weight:600;font-size:.95rem;color:var(--text)}.topic-score{font-weight:700;font-size:1rem}.topic-score.excellent{color:var(--success)}.topic-score.good{color:var(--primary)}.topic-score.needs-work{color:var(--warning)}.topic-score.critical{color:var(--danger)}.topic-bar{height:8px;background:var(--border);border-radius:4px;overflow:hidden;position:relative}.topic-bar-fill{height:100%;border-radius:4px;transition:width .6s ease}.topic-bar-fill.excellent{background:var(--success)}.topic-bar-fill.good{background:var(--primary)}.topic-bar-fill.needs-work{background:var(--warning)}.topic-bar-fill.critical{background:var(--danger)}.topic-bar-class{position:absolute;top:0;height:100%;width:3px;background:var(--text);opacity:.5}.topic-comparison{display:flex;justify-content:space-between;margin-top:.5rem;font-size:.8rem;color:var(--text-secondary)}.topic-comparison span:last-child{font-weight:500}.topic-comparison .above{color:var(--success)}.topic-comparison .below{color:var(--danger)}.homework-list{display:flex;flex-direction:column;gap:1rem}.homework-item{padding:1.25rem;background:var(--bg);border-radius:var(--radius);border:1px solid var(--border);display:flex;align-items:center;gap:1rem;transition:all .2s ease}.homework-item:hover{border-color:var(--primary)}.homework-status{width:12px;height:12px;border-radius:50%;flex-shrink:0}.homework-status.pending{background:var(--warning)}.homework-status.submitted{background:var(--info)}.homework-status.completed{background:var(--success)}.homework-status.overdue{background:var(--danger)}.homework-content{flex:1}.homework-title{font-weight:600;color:var(--text);margin-bottom:.25rem}.homework-meta{font-size:.85rem;color:var(--text-secondary);display:flex;flex-wrap:wrap;gap:1rem}.homework-actions{display:flex;gap:.5rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.625rem 1.25rem;border-radius:var(--radius-sm);font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:none;text-decoration:none}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:var(--bg);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:var(--border)}.btn-success{background:var(--success);color:#fff}.btn-sm{padding:.5rem .875rem;font-size:.8rem}.upload-zone{border:2px dashed var(--border);border-radius:var(--radius);padding:2rem;text-align:center;cursor:pointer;transition:all .2s ease;background:var(--bg)}.upload-zone:hover,.upload-zone.dragover{border-color:var(--primary);background:var(--primary-bg)}.upload-zone svg{width:48px;height:48px;color:var(--text-muted);margin-bottom:1rem}.upload-zone h4{font-weight:600;margin-bottom:.25rem}.upload-zone p{font-size:.875rem;color:var(--text-secondary)}.upload-zone input{display:none}.worksheet-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.worksheet-card{background:var(--bg-card);border-radius:var(--radius);border:1px solid var(--border);padding:1.25rem;display:flex;gap:1rem;transition:all .2s ease}.worksheet-card:hover{box-shadow:var(--shadow);border-color:var(--primary)}.worksheet-icon{width:48px;height:48px;background:var(--danger-bg);color:var(--danger);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0}.worksheet-info{flex:1}.worksheet-name{font-weight:600;margin-bottom:.25rem}.worksheet-meta{font-size:.85rem;color:var(--text-secondary)}.empty-state{text-align:center;padding:3rem 1rem;color:var(--text-secondary)}.empty-state svg{width:64px;height:64px;color:var(--text-muted);margin-bottom:1rem}.empty-state h3{font-size:1.1rem;font-weight:600;color:var(--text);margin-bottom:.5rem}.badge{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:600}.badge-success{background:var(--success-bg);color:var(--success)}.badge-warning{background:var(--warning-bg);color:var(--warning)}.badge-danger{background:var(--danger-bg);color:var(--danger)}.badge-info{background:var(--info-bg);color:var(--info)}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background:var(--bg-card);border-radius:var(--radius-lg);width:100%;max-width:500px;max-height:90vh;overflow-y:auto;animation:slideUp .3s ease}.modal-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.modal-title{font-size:1.1rem;font-weight:600}.modal-close{background:transparent;border:none;padding:.25rem;cursor:pointer;color:var(--text-muted)}.modal-close:hover{color:var(--text)}.modal-body{padding:1.5rem}.modal-footer{padding:1rem 1.5rem;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:.75rem}.performance-legend{display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:1.5rem;padding:1rem;background:var(--bg);border-radius:var(--radius)}.legend-item{display:flex;align-items:center;gap:.5rem;font-size:.875rem}.legend-dot{width:12px;height:12px;border-radius:50%}.legend-dot.you{background:var(--primary)}.legend-dot.class{background:var(--text-muted)}.trend-up{color:var(--success)}.trend-down{color:var(--danger)}.trend-stable{color:var(--text-muted)}.recharts-cartesian-axis-tick-value{font-size:12px;fill:var(--text-secondary)}.recharts-legend-item-text{font-size:13px!important;color:var(--text)!important}.table-responsive{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{padding:.875rem 1rem;text-align:left;border-bottom:1px solid var(--border)}th{font-weight:600;color:var(--text-secondary);font-size:.85rem;text-transform:uppercase;letter-spacing:.05em}tbody tr:hover{background:var(--bg)}.skeleton{background:linear-gradient(90deg,var(--border) 25%,var(--border-light) 50%,var(--border) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-sm)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.toast-container{position:fixed;bottom:1.5rem;right:1.5rem;display:flex;flex-direction:column;gap:.75rem;z-index:1001}.toast{padding:1rem 1.25rem;background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:.75rem;min-width:280px;animation:slideInRight .3s ease}@keyframes slideInRight{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}.toast.success{border-left:4px solid var(--success)}.toast.error{border-left:4px solid var(--danger)}.toast.info{border-left:4px solid var(--info)}.tabs{display:flex;gap:.25rem;border-bottom:1px solid var(--border);margin-bottom:1.5rem}.tab{padding:.75rem 1.25rem;background:transparent;border:none;font-size:.95rem;font-weight:500;color:var(--text-secondary);cursor:pointer;position:relative;transition:color .2s ease}.tab:hover{color:var(--text)}.tab.active{color:var(--primary)}.tab.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--primary)}.text-center{text-align:center}.text-right{text-align:right}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.flex{display:flex}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.5rem}.gap-2{gap:1rem}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}@media (max-width: 1100px){.dashboard-grid{grid-template-columns:1fr}}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{padding:1rem;text-align:left;border-bottom:1px solid var(--border)}.data-table th{background:var(--bg);font-weight:600;font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary)}.data-table tbody tr{transition:background .15s ease}.data-table tbody tr:hover{background:var(--primary-bg)}.clickable-row{cursor:pointer}.stat-card.clickable{cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.stat-card.clickable:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}.search-input input,.filter-select select{padding:.625rem .875rem;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:.9rem;background:var(--bg-card);color:var(--text);min-width:180px}.search-input input:focus,.filter-select select:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-bg)}.btn-sm{padding:.375rem .625rem;font-size:.8rem}.btn-danger{background:var(--danger);color:#fff;border:none}.btn-danger:hover{background:#dc2626}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;color:var(--text-secondary)}.spin{animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
