.login-container{display:flex;justify-content:center;align-items:center;width:100%}.login-form{background-color:#fff;padding:40px;border-radius:10px;box-shadow:0 8px 15px #0000001a;width:100%;max-width:400px;transition:transform .3s ease}.login-form h2{text-align:center;font-size:24px;color:#333;margin-bottom:30px}.error-message{color:#ff4d4d;background-color:#fff0f0;padding:10px;border-radius:5px;margin-bottom:20px;font-size:14px;text-align:center}.form-group{margin-bottom:20px}.form-group label{font-size:14px;color:#666;display:block;margin-bottom:8px}.form-group input{width:100%;padding:12px 15px;font-size:16px;border:1px solid #ddd;border-radius:8px;background-color:#fafafa;color:#333;transition:border-color .3s ease}.form-group input:focus{outline:none;border-color:#007bff;background-color:#fff}button[type=submit]{width:100%;padding:12px;background-color:#007bff;color:#fff;border:none;border-radius:8px;font-size:16px;cursor:pointer;transition:background-color .3s ease}button[type=submit]:hover{background-color:#0056b3}button[type=submit]:disabled{background-color:#ccc;cursor:not-allowed}button[type=submit]:disabled{background-color:#007bff}button[type=submit]:disabled:hover{background-color:#007bff}h1{font-size:2.5rem;font-weight:700;color:#091678;text-align:center;margin-bottom:20px;font-family:Arial,sans-serif;letter-spacing:1px}h3{font-size:1.5rem;font-weight:500;color:#091678;text-align:center;margin-bottom:30px;font-family:Arial,sans-serif;letter-spacing:.5px;opacity:.8}:root{--primary: #4361ee;--primary-dark: #3a56d4;--secondary: #6c757d;--success: #28a745;--danger: #dc3545;--warning: #ffc107;--info: #17a2b8;--light: #f8f9fa;--dark: #343a40;--white: #ffffff;--gray-100: #f8f9fa;--gray-200: #e9ecef;--gray-300: #dee2e6;--gray-400: #ced4da;--gray-500: #adb5bd;--gray-600: #6c757d;--gray-700: #495057;--gray-800: #343a40;--gray-900: #212529;--border-radius: 8px;--shadow-sm: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .08);--shadow-lg: 0 10px 25px rgba(0, 0, 0, .1), 0 5px 10px rgba(0, 0, 0, .05);--transition: all .3s ease}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background-color:var(--gray-100);color:var(--gray-800);line-height:1.6}.admin-dashboard-container{display:flex;flex-direction:column;min-height:100vh}.dashboard-header{background:var(--white);box-shadow:var(--shadow-sm);padding:1rem 1.5rem;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}.header-left h2{color:var(--primary);font-weight:700;font-size:1.5rem}.header-search{flex:1;max-width:500px;margin:0 1.5rem}.search-container{position:relative}.search-container input{width:100%;padding:.75rem 1rem .75rem 2.5rem;border:1px solid var(--gray-300);border-radius:var(--border-radius);font-size:.9rem;transition:var(--transition)}.search-container input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #4361ee26}.search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--gray-500)}.notification-btn{position:relative;background:none;border:none;width:2.5rem;height:2.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--gray-600);cursor:pointer;transition:var(--transition)}.notification-btn:hover{background-color:var(--gray-200);color:var(--primary)}.notification-badge{position:absolute;top:.25rem;right:.25rem;background-color:var(--danger);color:#fff;border-radius:50%;width:1.25rem;height:1.25rem;font-size:.7rem;display:flex;align-items:center;justify-content:center}.user-profile{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:var(--border-radius);cursor:pointer;position:relative;transition:var(--transition)}.user-profile:hover{background-color:var(--gray-200)}.avatar{width:2.5rem;height:2.5rem;border-radius:50%;background-color:var(--primary);display:flex;align-items:center;justify-content:center;color:#fff}.user-role{font-size:.8rem;color:var(--gray-600)}.dropdown-arrow{font-size:.8rem;color:var(--gray-500);transition:var(--transition)}.dropdown-menu{position:absolute;top:100%;right:0;background:var(--white);border-radius:var(--border-radius);box-shadow:var(--shadow-lg);padding:.5rem 0;width:200px;z-index:101;opacity:0;visibility:hidden;transform:translateY(10px);transition:var(--transition)}.dropdown-menu a{display:flex;align-items:center;padding:.75rem 1rem;color:var(--gray-700);text-decoration:none;transition:var(--transition)}.dropdown-menu a:hover{background-color:var(--gray-100);color:var(--primary)}.dropdown-menu a svg{margin-right:.75rem;color:var(--gray-500)}.mobile-menu-toggle{display:none;position:fixed;bottom:1.5rem;right:1.5rem;z-index:102;width:3.5rem;height:3.5rem;border-radius:50%;background-color:var(--primary);color:#fff;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);cursor:pointer}.dashboard-sidebar{width:250px;background-color:var(--white);box-shadow:var(--shadow-sm);position:fixed;top:0;left:0;height:100vh;z-index:99;padding-top:5rem;transform:translate(-100%);transition:var(--transition)}.dashboard-sidebar.open{transform:translate(0)}.sidebar-nav{padding:1rem 0}.sidebar-item{display:flex;align-items:center;padding:.75rem 1.5rem;color:var(--gray-700);text-decoration:none;transition:var(--transition);cursor:pointer}.sidebar-item:hover{background-color:var(--gray-100);color:var(--primary)}.sidebar-item.active{background-color:#4361ee1a;color:var(--primary);border-right:3px solid var(--primary)}.sidebar-icon{margin-right:.75rem;font-size:1.1rem}.mobile-overlay{display:none;position:fixed;inset:0;background-color:#00000080;z-index:98}.dashboard-content{flex:1;padding:1.5rem;margin-left:0;transition:var(--transition)}.dashboard-title{font-size:1.75rem;margin-bottom:1.5rem;color:var(--gray-800);font-weight:700}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:var(--white);border-radius:var(--border-radius);padding:1.5rem;box-shadow:var(--shadow-sm);display:flex;align-items:center;transition:var(--transition)}.stat-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}.stat-icon{width:3.5rem;height:3.5rem;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-right:1rem;color:#fff}.stat-icon.students{background:linear-gradient(135deg,#4361ee,#3a56d4)}.stat-icon.teachers{background:linear-gradient(135deg,#7209b7,#5a0891)}.stat-icon.datesheets{background:linear-gradient(135deg,#f72585,#d3166d)}.stat-content h3{font-size:1.75rem;font-weight:700;margin-bottom:.25rem;color:var(--gray-800)}.stat-content p{color:var(--gray-600);font-size:.9rem}.content-section{background:var(--white);border-radius:var(--border-radius);padding:1.5rem;margin-bottom:1.5rem;box-shadow:var(--shadow-sm)}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;flex-wrap:wrap;gap:1rem}.section-header h2{font-size:1.5rem;color:var(--gray-800);font-weight:600}.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.75rem 1.25rem;border-radius:var(--border-radius);font-size:.9rem;font-weight:500;cursor:pointer;transition:var(--transition);border:none;outline:none}.btn:disabled{opacity:.6;cursor:not-allowed}.primary-btn{background-color:var(--primary);color:#fff}.primary-btn:hover:not(:disabled){background-color:var(--primary-dark)}.secondary-btn{background-color:var(--gray-200);color:var(--gray-700)}.secondary-btn:hover:not(:disabled){background-color:var(--gray-300)}.full-width{width:100%;justify-content:center}.table-wrapper{overflow-x:auto;border-radius:var(--border-radius);border:1px solid var(--gray-200)}.data-table{width:100%;border-collapse:collapse}.data-table th{background-color:var(--gray-100);padding:1rem;text-align:left;font-weight:600;color:var(--gray-700);font-size:.9rem;border-bottom:1px solid var(--gray-200)}.data-table td{padding:1rem;border-bottom:1px solid var(--gray-200);font-size:.9rem}.data-table tr:last-child td{border-bottom:none}.data-table tr:hover{background-color:var(--gray-50)}.status-badge{padding:.35rem .75rem;border-radius:50px;font-size:.8rem;font-weight:500;display:inline-block}.status-badge.active{background-color:#28a74526;color:var(--success)}.status-badge.inactive{background-color:#dc354526;color:var(--danger)}.action-buttons{display:flex;gap:.5rem}.icon-btn{width:2rem;height:2rem;border-radius:var(--border-radius);display:flex;align-items:center;justify-content:center;border:none;cursor:pointer;transition:var(--transition);font-size:.9rem}.icon-btn.edit{background-color:#17a2b826;color:var(--info)}.icon-btn.edit:hover{background-color:#17a2b840}.icon-btn.delete{background-color:#dc354526;color:var(--danger)}.icon-btn.delete:hover{background-color:#dc354540}.no-data{text-align:center;padding:2rem;color:var(--gray-500);font-style:italic}.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.card{background:var(--white);border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:var(--transition)}.card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}.card-header{padding:1.25rem 1.5rem;border-bottom:1px solid var(--gray-200);display:flex;align-items:center;gap:.75rem}.card-icon{font-size:1.25rem;color:var(--primary)}.card-header h3{font-size:1.1rem;font-weight:600;color:var(--gray-800)}.card-body{padding:1.5rem}.card-body p{margin-bottom:1rem;color:var(--gray-600);font-size:.9rem}.form-group{margin-bottom:1.25rem}.form-group label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--gray-700);font-size:.9rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid var(--gray-300);border-radius:var(--border-radius);font-size:.9rem;transition:var(--transition)}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #4361ee26}.form-group textarea{min-height:100px;resize:vertical}.password-input{position:relative}.password-toggle{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--gray-500);cursor:pointer;padding:.25rem}.file-upload{margin-top:1rem}.file-upload input{width:100%}.option-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.5rem}.option-row input[type=text]{flex:1}.correct-option{display:flex;align-items:center;gap:.5rem;white-space:nowrap;font-size:.9rem;color:var(--gray-600)}.checkbox-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;margin-top:.5rem}.checkbox-item{display:flex;align-items:center;gap:.5rem}.checkbox-item input[type=checkbox]{width:auto;margin:0}.form-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.form-grid .full-width{grid-column:1 / -1}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal{background-color:var(--white);border-radius:var(--border-radius);width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:var(--shadow-lg)}.modal.large{max-width:900px}.modal-header{padding:1.5rem;border-bottom:1px solid var(--gray-200);display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;background:var(--white);z-index:1}.modal-header h3{font-size:1.25rem;font-weight:600;color:var(--gray-800)}.close-btn{background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--gray-500);width:2rem;height:2rem;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:var(--transition)}.close-btn:hover{background-color:var(--gray-200);color:var(--gray-700)}.modal-body{padding:1.5rem}.modal-footer{padding:1.25rem 1.5rem;border-top:1px solid var(--gray-200);display:flex;justify-content:flex-end;gap:.75rem;position:sticky;bottom:0;background:var(--white)}.search-box{position:relative;margin-bottom:.75rem}.search-box .search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--gray-500)}.search-box input{width:100%;padding:.75rem .75rem .75rem 2.5rem;border:1px solid var(--gray-300);border-radius:var(--border-radius);font-size:.9rem}.search-box input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px #4361ee26}.selection-table{max-height:200px;overflow-y:auto;border:1px solid var(--gray-200);border-radius:var(--border-radius);margin-bottom:.75rem}.selection-table table{width:100%;border-collapse:collapse}.selection-table th{background-color:var(--gray-100);padding:.75rem;text-align:left;font-weight:600;color:var(--gray-700);font-size:.8rem;position:sticky;top:0;z-index:1}.selection-table td{padding:.75rem;border-bottom:1px solid var(--gray-200);font-size:.9rem}.selection-table tr:last-child td{border-bottom:none}.selection-table tr:hover{background-color:var(--gray-50)}.selected-items{display:flex;flex-wrap:wrap;gap:.5rem}.selected-tag{background-color:#4361ee1a;color:var(--primary);padding:.35rem .75rem;border-radius:50px;font-size:.8rem;display:flex;align-items:center;gap:.5rem;cursor:pointer;transition:var(--transition)}.selected-tag:hover{background-color:#4361ee33}@media (max-width: 1024px){.dashboard-content{padding:1.25rem}.stats-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.cards-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}@media (max-width: 768px){.dashboard-header{padding:1rem}.header-search{display:none}.mobile-menu-toggle{display:flex}.mobile-overlay{display:block}.dashboard-content{padding:1rem;margin-left:0}.section-header{flex-direction:column;align-items:flex-start}.stats-grid,.cards-grid,.form-grid,.checkbox-grid{grid-template-columns:1fr}.modal-footer{flex-direction:column}.modal-footer .btn{width:100%}}@media (max-width: 576px){.user-info{display:none}.dashboard-title{font-size:1.5rem}.stat-card{flex-direction:column;text-align:center}.stat-icon{margin-right:0;margin-bottom:1rem}.data-table{font-size:.8rem}.data-table th,.data-table td{padding:.75rem .5rem}.modal{margin:.5rem}}.loading,.error{display:flex;align-items:center;justify-content:center;height:100vh;font-size:1.25rem;font-weight:500}.error{color:var(--danger)}.modal{animation:fadeIn .3s ease}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--gray-100);border-radius:4px}::-webkit-scrollbar-thumb{background:var(--gray-400);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--gray-500)}*{margin:0;padding:0;box-sizing:border-box}:root{--primary-color: #4a6cf7;--primary-hover: #3b5be3;--success-color: #10b981;--warning-color: #f59e0b;--danger-color: #ef4444;--light-bg: #f8fafc;--dark-text: #1e293b;--mid-text: #64748b;--light-text: #94a3b8;--border-color: #e2e8f0;--white: #ffffff;--shadow: 0 1px 3px rgba(0, 0, 0, .1);--shadow-md: 0 4px 6px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px rgba(0, 0, 0, .1);--radius: 8px;--transition: all .2s ease}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background-color:var(--light-bg);color:var(--dark-text);line-height:1.6;overflow-x:hidden}.spin{animation:spin 1s linear infinite}.toast-container{position:fixed;top:20px;right:20px;z-index:1000;display:flex;flex-direction:column;gap:10px}.toast{padding:12px 16px;border-radius:var(--radius);color:#fff;display:flex;align-items:center;justify-content:space-between;min-width:280px;box-shadow:var(--shadow-lg);transform:translate(100%);opacity:0;transition:transform .3s ease,opacity .3s ease;max-width:90vw}.toast.show{transform:translate(0);opacity:1}.toast-success{background-color:var(--success-color)}.toast-error{background-color:var(--danger-color)}.toast-warning{background-color:var(--warning-color)}.toast-content{display:flex;align-items:center;gap:8px;flex:1}.toast-close{background:none;border:none;color:#fff;cursor:pointer;font-size:16px;margin-left:12px}.teacher-dashboard-container{display:flex;flex-direction:column;min-height:100vh;position:relative}.dashboard-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;background-color:var(--white);box-shadow:var(--shadow);position:sticky;top:0;z-index:100;height:70px}.header-left{display:flex;align-items:center;gap:1rem}.menu-toggle{background:none;border:none;font-size:1.2rem;cursor:pointer;color:var(--mid-text);display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;transition:var(--transition)}.menu-toggle:hover{background-color:#f1f5f9}.header-left h2{font-size:1.25rem;font-weight:600;color:var(--dark-text)}.header-search{flex:1;max-width:540px;margin:0 1.5rem}.search-container{position:relative;display:flex;align-items:center}.search-icon{position:absolute;left:12px;color:var(--light-text);z-index:1}.search-container input{width:100%;padding:.625rem 1rem .625rem 2.5rem;border:1px solid var(--border-color);border-radius:24px;font-size:.9rem;transition:var(--transition);background-color:#f8fafc}.search-container input:focus{outline:none;border-color:var(--primary-color);background-color:var(--white);box-shadow:0 0 0 3px #4a6cf71a}.header-right{display:flex;align-items:center;gap:1rem}.notification-btn{position:relative;background:none;border:none;font-size:1.2rem;color:var(--mid-text);cursor:pointer;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:var(--transition)}.notification-btn:hover{background-color:#f1f5f9}.notification-badge{position:absolute;top:-2px;right:-2px;background-color:var(--danger-color);color:#fff;font-size:.7rem;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600}.user-profile{display:flex;align-items:center;gap:.75rem;padding:.5rem;border-radius:24px;cursor:pointer;position:relative;transition:var(--transition)}.user-profile:hover{background-color:#f1f5f9}.avatar{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:500}.user-name{font-weight:500;font-size:.9rem;color:var(--dark-text)}.dropdown-arrow{font-size:.8rem;color:var(--mid-text);transition:var(--transition)}.dropdown-arrow.active{transform:rotate(180deg)}.dropdown-menu{position:absolute;top:100%;right:0;background-color:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:.5rem 0;width:180px;z-index:101;display:none;margin-top:.5rem}.dropdown-menu.active{display:block}.dropdown-menu a{display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;text-decoration:none;color:var(--dark-text);font-size:.9rem;transition:var(--transition)}.dropdown-menu a:hover{background-color:#f1f5f9}.sidebar-overlay{position:fixed;inset:70px 0 0;background-color:#00000080;z-index:98;display:none;border:none}@media (max-width: 1024px){.sidebar-overlay{display:block}}.dashboard-sidebar{width:280px;background-color:var(--white);box-shadow:var(--shadow);display:flex;flex-direction:column;transition:transform .3s ease;z-index:99;height:calc(100vh - 70px);position:sticky;top:70px}@media (max-width: 1024px){.dashboard-sidebar{position:fixed;top:70px;left:0;height:calc(100vh - 70px);transform:translate(-100%);z-index:99}.dashboard-sidebar.open{transform:translate(0)}}@media (min-width: 1025px){.dashboard-sidebar{transform:none!important}}@media (min-width: 1025px){.sidebar-overlay{display:none!important}}.sidebar-header{padding:1.5rem;border-bottom:1px solid var(--border-color)}.user-welcome{display:flex;align-items:center;gap:1rem}.welcome-avatar{width:50px;height:50px;border-radius:50%;background-color:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.2rem}.welcome-text h3{font-size:.9rem;color:var(--light-text);margin-bottom:.25rem;font-weight:500}.welcome-text p{font-weight:600;color:var(--dark-text)}.sidebar-content{flex:1;display:flex;flex-direction:column;justify-content:space-between;padding:1.5rem 0}.sidebar-menu{list-style:none}.sidebar-menu li{margin-bottom:.25rem}.sidebar-menu a{display:flex;align-items:center;padding:.75rem 1.5rem;text-decoration:none;color:var(--mid-text);position:relative;transition:var(--transition);font-weight:500}.sidebar-menu a:hover{background-color:#f1f5f9;color:var(--primary-color)}.sidebar-menu a.active{background-color:#f0f4ff;color:var(--primary-color);font-weight:600}.menu-icon{margin-right:.75rem;display:flex;align-items:center;justify-content:center;width:24px}.active-indicator{position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:60%;background-color:var(--primary-color);border-radius:0 4px 4px 0}.sidebar-footer{padding:0 1.5rem}.help-section{padding:1rem 0;border-top:1px solid var(--border-color)}.help-section h4{font-size:.9rem;margin-bottom:.5rem;color:var(--dark-text);font-weight:600}.help-section p{font-size:.8rem;color:var(--light-text)}.dashboard-content{flex:1;padding:2rem;overflow-y:auto}@media (max-width: 1024px){.dashboard-content{padding:1.5rem}}@media (max-width: 768px){.dashboard-content{padding:1rem}}.dashboard-title{font-size:1.8rem;margin-bottom:1.5rem;color:var(--dark-text);font-weight:700}@media (max-width: 768px){.dashboard-title{font-size:1.5rem}}.stats-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-bottom:2rem}@media (max-width: 1200px){.stats-cards{grid-template-columns:repeat(2,1fr)}}@media (max-width: 640px){.stats-cards{grid-template-columns:1fr}}.stat-card{background-color:#fff;border-radius:var(--radius);padding:1.25rem 1.5rem;box-shadow:var(--shadow);display:flex;align-items:center;gap:1rem;transition:var(--transition)}.stat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}.stat-icon{width:56px;height:56px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.4rem;color:#fff}.stat-icon.total-students{background-color:var(--primary-color)}.stat-icon.exams-graded{background-color:var(--success-color)}.stat-icon.average-score{background-color:var(--warning-color)}.stat-icon.pending{background-color:var(--danger-color)}.stat-info h3{font-size:1.6rem;font-weight:700;margin-bottom:.25rem;color:var(--dark-text)}.stat-info p{color:var(--mid-text);font-size:.9rem}.content-section{background-color:#fff;border-radius:var(--radius);padding:1.5rem;margin-bottom:2rem;box-shadow:var(--shadow)}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.25rem;flex-wrap:wrap;gap:1rem}.section-header h3{font-size:1.2rem;color:var(--dark-text);font-weight:600}.section-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.filter-dropdown{position:relative;display:flex;align-items:center}.filter-icon{position:absolute;left:12px;color:var(--mid-text);z-index:1}.filter-dropdown select{padding:.5rem 1rem .5rem 2.5rem;border:1px solid var(--border-color);border-radius:6px;font-size:.9rem;background-color:var(--white);appearance:none;cursor:pointer;min-width:180px}.filter-dropdown select:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #4a6cf71a}.action-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:var(--white);border:1px solid var(--border-color);border-radius:6px;font-size:.9rem;cursor:pointer;transition:var(--transition);font-weight:500}.action-btn:hover{background-color:#f8fafc}.action-btn:disabled{opacity:.6;cursor:not-allowed}.export-btn,.view-btn,.primary-btn{background-color:var(--primary-color);color:#fff;border:none}.export-btn:hover,.view-btn:hover,.primary-btn:hover{background-color:var(--primary-hover)}.save-btn{background-color:var(--success-color);color:#fff;border:none}.save-btn:hover{background-color:#0da271}.results-table-container,.table-container{overflow-x:auto;margin-bottom:1rem;border-radius:var(--radius);border:1px solid var(--border-color)}.results-table,.data-table{width:100%;border-collapse:collapse;min-width:760px}.results-table th,.data-table th{text-align:left;padding:1rem;background-color:#f8fafc;font-weight:600;color:var(--mid-text);border-bottom:1px solid var(--border-color);font-size:.9rem}.results-table td,.data-table td{padding:1rem;border-bottom:1px solid var(--border-color);font-size:.9rem}.results-table tr:last-child td,.data-table tr:last-child td{border-bottom:none}.student-cell{white-space:nowrap}.student-info{display:flex;align-items:center;gap:.75rem;min-width:220px}.student-avatar{width:36px;height:36px;border-radius:50%;background-color:#f1f5f9;display:flex;align-items:center;justify-content:center;color:var(--mid-text)}.student-name{font-weight:500;color:var(--dark-text)}.student-id{font-size:.8rem;color:var(--light-text)}.score-display{display:flex;align-items:center;gap:.5rem}.score-value{font-weight:600;min-width:30px;color:var(--dark-text)}.score-bar{flex:1;height:8px;background-color:#f1f5f9;border-radius:4px;overflow:hidden;max-width:100px}.score-progress{height:100%;background-color:var(--primary-color);border-radius:4px;transition:width .3s ease}.status-badge{padding:.35rem .75rem;border-radius:20px;font-size:.8rem;font-weight:500;display:inline-block}.status-badge.completed{background-color:#f0fdf4;color:#166534}.status-badge.in-progress{background-color:#fffbeb;color:#b45309}.status-badge.active{background-color:#f0fdf4;color:#166534}.status-badge.inactive{background-color:#fef2f2;color:#b91c1c}.no-data{text-align:center;padding:2rem;color:var(--light-text);font-style:italic}.student-exam-view{background-color:#fff;border-radius:var(--radius);padding:2rem;box-shadow:var(--shadow)}@media (max-width: 768px){.student-exam-view{padding:1.5rem}}.view-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border-color);flex-wrap:wrap}.back-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background-color:#f8fafc;border:1px solid var(--border-color);border-radius:6px;font-size:.9rem;cursor:pointer;transition:var(--transition);font-weight:500}.back-btn:hover{background-color:#f1f5f9}.view-header h2{flex:1;font-size:1.5rem;color:var(--dark-text);font-weight:600;min-width:300px}@media (max-width: 640px){.view-header h2{min-width:auto;font-size:1.25rem}}.view-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;cursor:pointer;color:var(--mid-text)}.checkbox-label input[type=checkbox]{width:16px;height:16px;accent-color:var(--primary-color)}.student-exam-summary{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:2rem}@media (max-width: 900px){.student-exam-summary{grid-template-columns:1fr}}.summary-card{background-color:#f8fafc;border-radius:var(--radius);padding:1.5rem}.summary-card h3{font-size:1rem;margin-bottom:1rem;color:var(--mid-text);border-bottom:1px solid var(--border-color);padding-bottom:.5rem;font-weight:600}.student-details .detail-item{display:flex;justify-content:space-between;margin-bottom:.75rem;font-size:.9rem}.detail-item .label{color:var(--mid-text);font-weight:500}.detail-item .value{color:var(--dark-text);font-weight:600}.score-circle{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1rem 0}.circle-progress{width:110px;height:110px;margin-bottom:1rem}.circular-chart{display:block;width:100%;height:100%}.circle-bg{fill:none;stroke:#f1f5f9;stroke-width:3.8}.circle{fill:none;stroke-width:2.8;stroke-linecap:round;stroke:var(--primary-color);animation:progress 1s ease-out forwards}@keyframes progress{0%{stroke-dasharray:0 100}}.percentage{fill:var(--dark-text);font-size:.5em;text-anchor:middle;font-weight:600}.score-label{font-size:.9rem;color:var(--mid-text);text-align:center;font-weight:500}.written-answers{margin-bottom:2rem}.written-answers h4{font-size:1.1rem;margin-bottom:1rem;color:var(--dark-text);font-weight:600}.answer-item{background-color:#fff;border-radius:var(--radius);padding:1.25rem 1.5rem;box-shadow:var(--shadow);margin-bottom:1.25rem}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.question-header h4{font-size:1rem;color:var(--dark-text);font-weight:600}.points-controls{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.points-label{font-size:.9rem;color:var(--mid-text);font-weight:500}.score-input{width:72px;padding:.35rem .5rem;border:1px solid var(--border-color);border-radius:4px;text-align:center;font-weight:600}.score-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #4a6cf71a}.save-question-btn{background-color:var(--success-color);color:#fff;border:none;padding:.35rem .75rem;border-radius:4px;font-size:.9rem;cursor:pointer;transition:var(--transition)}.save-question-btn:hover{background-color:#0da271}.question-text{margin-bottom:1rem;font-weight:500;color:var(--dark-text);line-height:1.5}.student-answer{background-color:#f8fafc;padding:1rem;border-radius:6px;margin-bottom:.25rem;border-left:3px solid var(--primary-color)}.student-answer p{margin:0;color:var(--dark-text);line-height:1.5}.viva-section{padding:1.5rem 0;border-top:1px solid var(--border-color)}.viva-section h4{font-size:1.1rem;margin-bottom:1rem;color:var(--dark-text);font-weight:600}.viva-controls{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.viva-input-group{display:flex;align-items:center;gap:.5rem}.viva-input-group label{font-weight:500;color:var(--dark-text)}.viva-input{width:90px;padding:.5rem;border:1px solid var(--border-color);border-radius:6px;text-align:center;font-weight:600;font-size:1rem}.viva-input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #4a6cf71a}.save-all-container{display:flex;justify-content:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--border-color)}.save-all-btn{background-color:var(--primary-color);color:#fff;border:none;padding:.75rem 1.5rem;font-size:1rem;border-radius:6px;font-weight:500;transition:var(--transition)}.save-all-btn:hover{background-color:var(--primary-hover)}.save-all-btn:disabled{opacity:.6;cursor:not-allowed}.no-answers{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 1rem;color:var(--light-text);text-align:center}.no-answers svg{font-size:2rem;margin-bottom:1rem;color:#cbd5e1}.loading-overlay{position:fixed;inset:0;background-color:#ffffffd9;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000}.loading-spinner{width:40px;height:40px;border:4px solid #f1f5f9;border-top:4px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@media (max-width: 1024px){.dashboard-sidebar{width:260px}.header-search{max-width:420px}}@media (max-width: 900px){.header-search{max-width:320px}}@media (max-width: 768px){.dashboard-header{padding:1rem}.header-search{margin:0 1rem;max-width:220px}.user-info{display:none}.section-header{flex-direction:column;align-items:flex-start}.section-actions{width:100%;justify-content:space-between}.view-header{flex-direction:column;align-items:flex-start;gap:1rem}.view-actions{width:100%;justify-content:space-between}}@media (max-width: 640px){.header-search{display:none}.results-table{font-size:.85rem}.results-table th,.results-table td{padding:.75rem .5rem}.score-bar{display:none}.question-header{flex-direction:column;align-items:flex-start}.points-controls{width:100%;justify-content:space-between}.viva-controls{flex-direction:column;align-items:flex-start;gap:.75rem}}:root{--primary-color: #4361ee;--secondary-color: #3a0ca3;--accent-color: #7209b7;--success-color: #4cc9f0;--warning-color: #f72585;--background-color: #f8f9fa;--card-background: #ffffff;--text-color: #2b2d42;--muted-color: #8d99ae;--border-color: #e9ecef;--sidebar-bg: #ffffff;--sidebar-hover: #f1f3f9;--sidebar-text: #495057;--header-bg: #ffffff;--radius: 12px;--shadow: 0 4px 20px rgba(0, 0, 0, .08);--transition: all .3s ease;--header-height: 80px}.student-dashboard-container{display:flex;flex-direction:column;min-height:100vh;font-family:Inter,Roboto,sans-serif;background-color:var(--background-color);color:var(--text-color)}.dashboard-header{background:var(--header-bg);color:var(--text-color);padding:0 30px;box-shadow:var(--shadow);position:sticky;top:0;z-index:1000;display:flex;align-items:center;justify-content:space-between;height:var(--header-height)}.header-left{display:flex;align-items:center;gap:20px}.menu-toggle{display:none;background:none;border:none;font-size:1.2rem;color:var(--text-color);cursor:pointer;padding:8px;border-radius:8px;transition:var(--transition)}.menu-toggle:hover{background-color:var(--sidebar-hover)}.dashboard-header h2{margin:0;font-size:1.5rem;font-weight:600;color:var(--primary-color)}.header-search{flex:1;max-width:500px;margin:0 40px}.search-container{position:relative;width:100%}.search-container input{width:100%;padding:12px 20px 12px 45px;border-radius:30px;border:1px solid var(--border-color);background-color:var(--background-color);font-size:.9rem;transition:var(--transition)}.search-container input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 3px #4361ee26}.search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:var(--muted-color);font-size:.9rem}.header-right{display:flex;align-items:center;gap:20px}.notification-btn{position:relative;background:none;border:none;font-size:1.2rem;color:var(--text-color);cursor:pointer;padding:10px;border-radius:50%;transition:var(--transition)}.notification-btn:hover{background-color:var(--sidebar-hover)}.notification-badge{position:absolute;top:5px;right:5px;background-color:var(--warning-color);color:#fff;border-radius:50%;width:18px;height:18px;font-size:.7rem;display:flex;align-items:center;justify-content:center}.user-profile{display:flex;align-items:center;gap:12px;padding:8px 12px;border-radius:var(--radius);cursor:pointer;position:relative;transition:var(--transition)}.user-profile:hover{background-color:var(--sidebar-hover)}.avatar{width:40px;height:40px;border-radius:50%;background-color:var(--primary-color);display:flex;align-items:center;justify-content:center;color:#fff}.user-info{display:flex;flex-direction:column}.user-name{font-weight:600;font-size:.9rem}.user-role{font-size:.8rem;color:var(--muted-color)}.dropdown-menu{position:absolute;top:100%;right:0;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:10px 0;width:200px;z-index:100;opacity:0;visibility:hidden;transform:translateY(10px);transition:var(--transition)}.dropdown-menu.active{opacity:1;visibility:visible;transform:translateY(0)}.dropdown-menu a{display:flex;align-items:center;padding:10px 20px;color:var(--text-color);text-decoration:none;transition:var(--transition)}.dropdown-menu a:hover{background-color:var(--sidebar-hover)}.dropdown-menu a svg{margin-right:10px;color:var(--muted-color)}.dashboard-main{display:flex;flex:1;position:relative}.dashboard-sidebar{width:280px;background-color:var(--sidebar-bg);color:var(--sidebar-text);box-shadow:var(--shadow);position:sticky;top:var(--header-height);height:calc(100vh - var(--header-height));overflow-y:auto;transition:var(--transition);z-index:100}.sidebar-header{padding:25px;border-bottom:1px solid var(--border-color)}.user-welcome{display:flex;align-items:center;gap:15px}.welcome-avatar{width:50px;height:50px;border-radius:50%;background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));display:flex;align-items:center;justify-content:center;color:#fff;font-size:1.2rem}.welcome-text h3{margin:0;font-size:.9rem;font-weight:500;color:var(--muted-color)}.welcome-text p{margin:5px 0 0;font-weight:600;font-size:1rem}.sidebar-content{padding:20px 0;display:flex;flex-direction:column;height:calc(100% - 101px)}.sidebar-menu{list-style-type:none;padding:0;margin:0;flex:1}.sidebar-menu li{margin:5px 0;position:relative}.sidebar-menu li a{text-decoration:none;color:var(--sidebar-text);display:flex;align-items:center;padding:12px 25px;transition:var(--transition);font-weight:500;position:relative}.sidebar-menu li a:hover{background-color:var(--sidebar-hover);color:var(--primary-color)}.sidebar-menu li a.active{background-color:#4361ee1a;color:var(--primary-color)}.menu-icon{width:24px;height:24px;display:flex;align-items:center;justify-content:center;margin-right:15px}.active-indicator{position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:24px;background-color:var(--primary-color);border-radius:0 4px 4px 0}.sidebar-footer{padding:20px 25px;border-top:1px solid var(--border-color)}.help-section h4{margin:0 0 8px;font-size:.9rem;font-weight:600}.help-section p{margin:0;font-size:.8rem;color:var(--muted-color)}.sidebar-overlay{display:none;position:fixed;top:var(--header-height);left:0;right:0;bottom:0;background-color:#00000080;z-index:99}.dashboard-content{flex:1;padding:30px;background-color:var(--background-color);transition:var(--transition)}.welcome-banner{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));color:#fff;padding:25px;border-radius:var(--radius);margin-bottom:25px;box-shadow:var(--shadow)}.welcome-banner h3{margin:0 0 10px;font-size:1.5rem;font-weight:600}.welcome-banner p{margin:0;opacity:.9}@media (max-width: 1024px){.header-search{max-width:300px;margin:0 20px}.exam-cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}}@media (max-width: 900px){.dashboard-sidebar{width:240px}}@media (max-width: 768px){.menu-toggle{display:block}.dashboard-sidebar{position:fixed;top:var(--header-height);left:-280px;height:calc(100vh - var(--header-height));z-index:100}.dashboard-sidebar.open{left:0}.sidebar-overlay{display:block}.header-search,.user-info{display:none}.dashboard-content{padding:20px}.exam-cards{grid-template-columns:1fr}}@media (max-width: 480px){.dashboard-header{padding:0 15px}.dashboard-header h2{font-size:1.2rem}.notification-btn{padding:8px}.user-profile{padding:5px}.avatar{width:35px;height:35px}.welcome-banner{padding:20px}.exam-schedule{padding:20px 15px}.exam-card{padding:15px}.exam-header{flex-direction:column;align-items:flex-start}.badge{margin:10px 0 0}}.exam-schedule{background-color:var(--card-background);padding:25px;border-radius:var(--radius);box-shadow:var(--shadow);margin-bottom:30px}.exam-schedule h3{margin:0 0 25px;color:var(--primary-color);font-size:1.5rem;font-weight:600;padding-bottom:15px;border-bottom:2px solid var(--border-color)}.exam-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.exam-card{background:var(--card-background);padding:20px;border-radius:var(--radius);box-shadow:var(--shadow);transition:var(--transition);border-left:4px solid var(--primary-color);position:relative;overflow:hidden}.exam-card:hover{transform:translateY(-5px);box-shadow:0 8px 20px #00000026}.exam-card.active{border-left-color:var(--primary-color)}.exam-card.inactive{border-left-color:var(--muted-color);opacity:.85}.exam-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.exam-header h4{margin:0;font-size:1.1rem;font-weight:600;color:var(--text-color);flex:1;display:flex;align-items:center}.exam-header h4 svg{margin-right:10px;color:var(--primary-color)}.badge{background-color:var(--primary-color);color:#fff;padding:5px 12px;border-radius:20px;font-size:.8rem;font-weight:500;margin-left:10px}.badge.upcoming{background-color:var(--secondary-color)}.exam-details{margin-bottom:20px}.exam-details p{margin:8px 0;display:flex;align-items:center;font-size:.95rem}.exam-details p svg{margin-right:10px;color:var(--muted-color);width:16px}.exam-action{display:flex;justify-content:flex-end}.start-btn{background-color:var(--primary-color);color:#fff;border:none;padding:10px 20px;border-radius:var(--radius);cursor:pointer;font-weight:500;transition:var(--transition);display:flex;align-items:center;justify-content:center}.start-btn:hover{background-color:#3a56d4;transform:translateY(-2px);box-shadow:0 4px 10px #4361ee4d}.start-btn:active{transform:translateY(0)}.inactive-text{color:var(--muted-color);display:flex;align-items:center;font-style:italic;font-size:.9rem}.inactive-text svg{margin-right:8px}.status-indicator{position:absolute;top:0;right:0;width:8px;height:100%}.status-active{background-color:var(--primary-color)}.status-upcoming{background-color:var(--secondary-color)}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.exam-card{animation:fadeIn .5s ease-out}.exam-card:nth-child(1){animation-delay:.1s}.exam-card:nth-child(2){animation-delay:.2s}.exam-card:nth-child(3){animation-delay:.3s}.exam-card:nth-child(4){animation-delay:.4s}.exam-card:nth-child(5){animation-delay:.5s}.exam-card:nth-child(6){animation-delay:.6s}.exam-card:nth-child(7){animation-delay:.7s}.exam-card:nth-child(8){animation-delay:.8s}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:50vh}.spinner{animation:spin 1s linear infinite;font-size:2rem;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:50vh}.retry-btn{margin-top:1rem;padding:.5rem 1rem;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer}.retry-btn:hover{background-color:#0056b3}.no-exams{text-align:center;padding:2rem;color:#666}:root{--bg: #0b111b;--card: #111827;--muted: #9aa4b2;--text: #e5e7eb;--primary: #22c55e;--primary-600: #16a34a;--accent: #3b82f6;--danger: #ef4444;--warn: #f59e0b;--border: #243244}*{box-sizing:border-box}.no-select{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.exam-loading,.exam-error,.exam-finale{max-width:880px;margin:8vh auto;padding:32px;background:var(--card);color:var(--text);border:1px solid var(--border);border-radius:14px;text-align:center}.exam-loading .spinner{font-size:36px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-icon{font-size:42px;color:var(--danger);margin-bottom:10px}.finale-icon{font-size:48px;color:var(--primary);margin-bottom:12px}.btn-back,.btn-retry,.btn-primary,.btn-secondary{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;border:1px solid transparent;cursor:pointer;font-weight:600}.btn-retry{background:var(--accent);color:#fff}.btn-back{background:transparent;color:var(--text);border-color:var(--border)}.btn-primary{background:var(--primary);color:#08120a}.btn-primary:hover{background:var(--primary-600)}.btn-secondary{background:#0f172a;color:#dbe2ea;border-color:var(--border)}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.exam-page-container{max-width:980px;margin:0 auto 64px;padding:16px;color:var(--text);background:var(--bg);min-height:100vh}.fs-banner{position:sticky;top:8px;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:10px;background:#102a17;color:#b9f7ce;border:1px solid #194126;border-radius:10px}.toast-wrap{position:fixed;top:16px;right:16px;z-index:50;display:flex;flex-direction:column;gap:10px}.toast{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:280px;max-width:420px;padding:12px 14px;background:#0f172a;color:var(--text);border:1px solid var(--border);border-radius:12px;box-shadow:0 6px 24px #00000059}.toast-info{border-color:#334155}.toast-warning{border-color:var(--warn)}.toast-error{border-color:var(--danger)}.toast .toast-close{background:transparent;border:none;color:var(--muted);cursor:pointer}.exam-topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:16px;background:#0b111be6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border:1px solid var(--border);border-radius:14px;padding:12px 14px;margin:10px 0 16px}.topbar-back{background:#0f172a;border:1px solid var(--border);color:var(--text);border-radius:10px;padding:8px;cursor:pointer}.topbar-title{flex:1;display:flex;align-items:center;gap:14px}.topbar-title h3{margin:0;font-size:16px;font-weight:700}.topbar-progress{flex:1}.topbar-progress .bar{height:8px;background:#0f172a;border:1px solid var(--border);border-radius:999px;overflow:hidden}.topbar-progress .bar span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),#5eead4)}.topbar-progress small{display:block;color:var(--muted);margin-top:6px}.topbar-timer{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;font-weight:800;background:#102a17;color:#aff2c3;border:1px solid #194126}.topbar-timer.warn{background:#2a200f;color:#fbd38d;border-color:#4b3a12}.topbar-timer.danger{background:#2a1010;color:#fca5a5;border-color:#4b1a1a}.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin:4px 2px 16px}.chip{min-width:34px;height:34px;border-radius:999px;border:1px solid var(--border);background:#0f172a;color:#cbd5e1;cursor:pointer;font-weight:700}.chip.done{background:#102a17;color:#86efac;border-color:#164e27}.chip.current{box-shadow:0 0 0 2px #60a5fa inset}.card{background:var(--card);border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:16px}.card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.card-head h4{margin:0}.link{background:transparent;border:none;color:#93c5fd;cursor:pointer}.pill{font-size:12px;padding:4px 8px;border-radius:999px;border:1px solid var(--border)}.pill-missing{background:#2a1010;color:#fca5a5;border-color:#4b1a1a}.pill-ok{background:#102a17;color:#86efac;border-color:#164e27}.question .qtext{font-size:15px;margin:6px 0 10px}.options{display:flex;flex-direction:column;gap:10px}.opt{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:12px;background:#0f172a;cursor:pointer}.opt-checked{outline:2px solid #2563eb}.opt input{accent-color:#2563eb}.opt-bullet{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#0b1325;border:1px solid var(--border);font-weight:800}.opt-text{color:#e2e8f0}.nav-row{display:flex;justify-content:space-between;gap:10px;margin-top:14px}.pagination{display:flex;justify-content:center;gap:6px;list-style:none;margin:16px 0 4px;padding:0}.pagination a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:#0f172a;border:1px solid var(--border);text-decoration:none;color:#dbeafe;cursor:pointer}.pagination .active a{background:#122b51;border-color:#1d4ed8}.pagination .disabled a{opacity:.5;cursor:not-allowed}.written-wrap{display:flex;flex-direction:column;gap:14px}.written-item{border:1px dashed var(--border);border-radius:12px;padding:12px;background:#0b1325}.wq{margin:0 0 8px;font-weight:600}.warea{width:100%;min-height:110px;border-radius:10px;border:1px solid var(--border);background:#091220;color:var(--text);padding:10px;resize:vertical;font-family:inherit}.warea:focus{outline:none;box-shadow:0 0 0 2px #2563eb inset}.submit-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:10px}.submit-hint{display:flex;align-items:center;gap:8px;color:#fbbf24}.submit-btn{min-width:220px}.spin{animation:spin .9s linear infinite}
