*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.border{border-width:1px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{min-height:100vh}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.login-background{position:absolute;inset:0;z-index:0}.background-image{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.background-overlay{position:absolute;inset:0;background:linear-gradient(135deg,#000000b3,#0009,#000000b3)}.login-card-wrapper{width:100%;max-width:450px;padding:0 1.5rem;position:relative;z-index:10}.login-card{background:#fffffff2;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:1.5rem;box-shadow:0 25px 50px -12px #00000080;padding:2.5rem;border:1px solid rgba(229,231,235,.5)}.login-header{text-align:center;margin-bottom:2rem}.login-icon{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;background:linear-gradient(135deg,#1f2937,#374151);border-radius:1rem;margin-bottom:1rem;box-shadow:0 10px 15px -3px #0000004d;color:#fff}.login-title{font-size:2rem;font-weight:700;color:#000;margin:0 0 .5rem}.login-subtitle{color:#6b7280;font-size:1rem;margin:0}.brand-name{font-weight:700;color:#000;cursor:help;position:relative}.error-box{display:flex;align-items:center;gap:.5rem;padding:1rem;background:#fef2f2;border:1px solid #fecaca;border-radius:.75rem;margin-bottom:1.5rem;color:#dc2626;font-size:.875rem;font-weight:500}.error-box svg{flex-shrink:0}.login-form{display:flex;flex-direction:column;gap:1.25rem}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-field label{font-size:.875rem;font-weight:600;color:#374151}.input-wrapper{position:relative;display:flex;align-items:center}.input-icon{position:absolute;left:1rem;width:20px;height:20px;color:#9ca3af;pointer-events:none}.input-wrapper input{width:100%;padding:.75rem 1rem .75rem 3rem;border:2px solid #e5e7eb;border-radius:.75rem;font-size:1rem;transition:all .2s;outline:none;background:#fff}.input-wrapper input:hover{border-color:#9ca3af}.input-wrapper input:focus{border-color:#1f2937;box-shadow:0 0 0 3px #1f29371a}.input-wrapper input:disabled{background:#f3f4f6;cursor:not-allowed;opacity:.6}.form-options{display:flex;align-items:center;justify-content:space-between;font-size:.875rem}.remember-me{display:flex;align-items:center;gap:.5rem;cursor:pointer;color:#6b7280;font-weight:500}.remember-me input[type=checkbox]{width:16px;height:16px;cursor:pointer;accent-color:#1f2937}.forgot-password{color:#374151;font-weight:600;text-decoration:none;transition:color .2s}.forgot-password:hover{color:#000}.submit-btn{width:100%;padding:.75rem 1rem;background:#0866ff;color:#fff;font-weight:600;font-size:.875rem;border:none;border-radius:.75rem;cursor:pointer;transition:all .2s;box-shadow:none}.submit-btn:hover:not(:disabled){background:#0866ff;transform:translateY(-2px)}.submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.loading-text{display:flex;align-items:center;justify-content:center;gap:.75rem}.spinner{width:20px;height:20px;animation:spin 1s linear infinite}.spinner-circle{opacity:.25}.spinner-path{opacity:.75}@keyframes spin{to{transform:rotate(360deg)}}.login-footer{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb;color:#6b7280;font-size:.875rem;font-weight:500}.login-footer svg{flex-shrink:0}.copyright{margin-top:1.5rem;text-align:center}.copyright p{color:#fffc;font-size:.875rem;font-weight:500;text-shadow:0 2px 4px rgba(0,0,0,.3);margin:0}@media(max-width:640px){.login-card{padding:2rem 1.5rem}.login-title{font-size:1.75rem}.form-options{flex-direction:column;gap:.75rem;align-items:flex-start}}.modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .2s ease-out}.modal-container{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:400px;width:90%;animation:slideUp .3s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-content{padding:2rem;text-align:center}.modal-icon{margin:0 auto 1.5rem;display:block}.modal-icon.warning{color:#f59e0b}.modal-icon.danger{color:#ef4444}.modal-icon.success{color:#10b981}.modal-icon.info{color:#3b82f6}.modal-title{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:.75rem}.modal-message{font-size:1rem;color:#6b7280;line-height:1.6;white-space:pre-line}.modal-actions{display:flex;gap:.75rem;padding:1.5rem;border-top:1px solid #e5e7eb}.modal-btn{flex:1;padding:.875rem 1.5rem;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.modal-btn-cancel{background:#f3f4f6;color:#6b7280}.modal-btn-cancel:hover{background:#e5e7eb}.modal-btn-confirm{color:#fff}.modal-btn-confirm.warning{background:#f59e0b}.modal-btn-confirm.warning:hover{background:#d97706}.modal-btn-confirm.danger{background:#ef4444}.modal-btn-confirm.danger:hover{background:#dc2626}.modal-btn-confirm.success{background:#10b981}.modal-btn-confirm.success:hover{background:#059669}.modal-btn-confirm.info{background:#3b82f6}.modal-btn-confirm.info:hover{background:#2563eb}.dashboard{min-height:100vh;background:#f5f5f5}.navbar{background:#fffffffa;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);padding:1.25rem 2.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 4px 20px #00000014;border-bottom:1px solid rgba(255,255,255,.2);position:sticky;top:0;z-index:100}.navbar-brand{display:flex;align-items:center;gap:1rem;cursor:pointer;transition:transform .2s}.navbar-logo{width:45px;height:45px;-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 2px 8px rgba(102,126,234,.3))}.navbar-title{font-size:1.5rem;font-weight:800;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-.5px}.navbar-right{display:flex;align-items:center;gap:1.25rem}.profile-menu{display:flex;align-items:center;gap:.875rem;padding:.625rem 1.25rem;background:linear-gradient(135deg,#f8f9fa,#e9ecef);border-radius:50px;cursor:pointer;transition:all .3s ease;border:1px solid rgba(0,0,0,.05)}.profile-menu:hover{background:linear-gradient(135deg,#e9ecef,#dee2e6)}.profile-avatar{width:36px;height:36px;border-radius:50%;-o-object-fit:cover;object-fit:cover;border:2px solid white;box-shadow:0 2px 8px #00000026}.profile-name{font-weight:600;color:#2d3748;font-size:.9rem}.logout-btn{padding:.625rem;background:linear-gradient(135deg,#fee2e2,#fecaca);border:none;border-radius:12px;color:#dc2626;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #dc262633}.logout-btn:hover{background:linear-gradient(135deg,#fecaca,#fca5a5)}.dashboard-content{max-width:1400px;margin:0 auto;padding:3rem 2rem}.welcome-section{text-align:center;margin-bottom:3.5rem;animation:fadeInDown .6s ease}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.welcome-section h1{font-size:3rem;font-weight:800;color:#fff;margin:0 0 .75rem;text-shadow:0 4px 12px rgba(0,0,0,.15);letter-spacing:-1px}.welcome-section p{color:#fffffff2;font-size:1.25rem;margin:0;font-weight:500}.stats-grid,.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:3rem}.stat-card,.card{background:#fff;padding:1.5rem;border-radius:24px;box-shadow:none;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden;animation:fadeInUp .6s ease;animation-fill-mode:both;display:flex;flex-direction:row;align-items:center;gap:1.5rem;text-align:left;border:1px solid #e0e0e0;min-height:100px}.stat-card:nth-child(1){animation-delay:.1s}.stat-card:nth-child(2){animation-delay:.2s}.stat-card:nth-child(3){animation-delay:.3s}.stat-card:nth-child(4){animation-delay:.4s}.stat-card:nth-child(5){animation-delay:.5s}.stat-card:before{content:"";position:absolute;top:0;left:0;right:0;height:5px;background:var(--card-color);transform:scaleX(0);transition:transform .4s ease}.stat-card:hover{transform:translateY(-4px);box-shadow:none}.stat-card:hover:before{transform:scaleX(1)}.stat-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.stat-icon{font-size:3.5rem;filter:drop-shadow(0 4px 8px rgba(0,0,0,.1));transition:transform .3s ease}.stat-card:hover .stat-icon{transform:scale(1.1) rotate(5deg)}.stat-count{font-size:3rem;font-weight:800;color:var(--card-color);line-height:1}.stat-title{font-size:1.125rem;font-weight:600;color:#64748b;margin:0;letter-spacing:-.3px}.recent-section{background:#fff;padding:2.5rem;border-radius:20px;box-shadow:0 10px 40px #0000001f;animation:fadeInUp .6s ease .6s;animation-fill-mode:both}.recent-section h2{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0 0 2rem;display:flex;align-items:center;gap:.75rem}.recent-section h2:before{content:"";width:4px;height:28px;border-radius:2px}.attempts-list{display:flex;flex-direction:column;gap:1rem}.attempt-card{background:linear-gradient(135deg,#f8fafc,#f1f5f9);padding:1.5rem;border-radius:16px;border:1px solid #e2e8f0;transition:all .3s ease;cursor:pointer}.attempt-card:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);transform:translate(8px);box-shadow:0 8px 24px #00000014}.attempt-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.875rem}.attempt-title{font-size:1.0625rem;font-weight:600;color:#1e293b;margin:0}.attempt-status{padding:.375rem 1rem;border-radius:20px;font-size:.8125rem;font-weight:600;letter-spacing:.3px}.status-passed{background:linear-gradient(135deg,#d1fae5,#a7f3d0);color:#065f46;box-shadow:0 2px 8px #10b98133}.status-failed{background:linear-gradient(135deg,#fee2e2,#fecaca);color:#991b1b;box-shadow:0 2px 8px #ef444433}.attempt-details{display:flex;align-items:center;gap:2rem;font-size:.9375rem;color:#64748b}.attempt-score{font-weight:700;color:#1e293b;font-size:1rem}.empty-state{text-align:center;padding:4rem 1rem;color:#94a3b8}.empty-state svg{width:80px;height:80px;margin-bottom:1.5rem;opacity:.4}@media(max-width:768px){.navbar{padding:1rem 1.5rem}.navbar-title{font-size:1.25rem}.dashboard-content{padding:2rem 1rem}.welcome-section h1{font-size:2rem}.welcome-section p{font-size:1rem}.stats-grid{grid-template-columns:1fr;gap:1.5rem}.profile-name{display:none}.stat-card{padding:2rem}.stat-icon,.stat-count{font-size:2.5rem}}.card-icon{width:60px;height:60px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:2rem;flex-shrink:0;transition:transform .3s ease}.card-content{flex:1;display:flex;flex-direction:column;gap:.25rem}.card-title{font-size:1.125rem;font-weight:700;color:#1e293b;margin:0}.card-count{font-size:.875rem;color:#64748b;margin:0;font-weight:500}.card-btn{padding:.75rem 2rem;border:none;border-radius:12px;color:#fff;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #00000026}.card-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000040}.dashboard-title{font-size:3rem;font-weight:800;color:#333;margin:0 0 .75rem;letter-spacing:-1px;text-align:center}.dashboard-subtitle{color:#666;font-size:1.25rem;margin:0 0 3rem;font-weight:500;text-align:center}.section-title{font-size:1.75rem;font-weight:700;color:#1e293b;margin:0 0 2rem;display:flex;align-items:center;gap:.75rem}.section-title:before{content:"";width:4px;height:28px;border-radius:2px}.loading-text,.empty-text{text-align:center;padding:2rem;color:#64748b;font-size:1rem}.profile{min-height:100vh;background:#f5f7fa}.profile-content{max-width:1400px;margin:0 auto;padding:3rem 2rem;display:grid;grid-template-columns:1fr 2fr;gap:2rem;align-items:start}.profile-sidebar{position:sticky;top:100px;align-self:start}.profile-main{min-height:500px}.profile-header{background:#fff;border-radius:16px;padding:2rem;text-align:center;position:relative}.profile-banner{position:absolute;top:0;left:0;right:0;height:80px;background:#fff;border-radius:16px 16px 0 0}.profile-avatar-large{width:100px;height:100px;border-radius:50%;border:5px solid white;position:relative;z-index:1;margin:40px auto 1rem}.profile-username{font-size:1.5rem;color:#1f2937;margin-bottom:.5rem}.profile-role{color:#6b7280;font-size:1rem}.profile-info{background:#fff;border-radius:16px;padding:2rem;margin-bottom:2rem}.profile-info h2{font-size:1.5rem;color:#1f2937;margin-bottom:1.5rem}.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.info-item{padding:1rem;background:#f9fafb;border-radius:8px}.info-label{color:#6b7280;font-size:.875rem;margin-bottom:.5rem}.info-value{color:#1f2937;font-size:1.125rem;font-weight:600}.profile-actions{display:flex;gap:1rem;justify-content:center;margin-top:2rem}.btn{flex:1;max-width:200px;padding:.875rem 2rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:transform .2s}.btn:hover{transform:translateY(-2px)}.btn-primary{background:linear-gradient(135deg,#6366f1,#a855f7);color:#fff}.btn-secondary{background:#fff;color:#6366f1;border:2px solid #6366f1}.btn-logout{background:#ef4444;color:#fff}@media(max-width:768px){.profile-actions{flex-direction:column}.btn{width:100%}}.profile-form{display:flex;flex-direction:column;gap:1.5rem;max-width:600px;margin:0 auto}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.875rem;font-weight:600;color:#374151}.form-group input{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;transition:border-color .2s}.form-group input:focus{outline:none;border-color:#6366f1}.form-actions{display:flex;gap:1rem;margin-top:1rem}.form-actions .btn{flex:1}.profile-avatar-container{position:relative;display:inline-block;margin-top:-60px}.avatar-upload-btn{position:absolute;bottom:5px;right:5px;width:40px;height:40px;background:#6366f1;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s}.avatar-upload-btn:hover{background:#4f46e5;transform:scale(1.1)}.avatar-upload-btn svg{color:#fff}.profile-avatar-large{width:120px;height:120px;border-radius:50%;border:4px solid white;-o-object-fit:cover;object-fit:cover}.profile-tabs{display:flex;gap:1rem;margin-bottom:2rem;border-bottom:2px solid #e5e7eb}.tab-btn{padding:1rem 2rem;background:none;border:none;border-bottom:3px solid transparent;font-size:1rem;font-weight:600;color:#6b7280;cursor:pointer;transition:all .3s;margin-bottom:-2px}.tab-btn:hover{color:#6366f1}.tab-btn.active{color:#6366f1;border-bottom-color:#6366f1}.exam-history-table{overflow-x:auto}.exam-history-table table{width:100%;border-collapse:collapse}.exam-history-table thead{background:#f9fafb}.exam-history-table th{padding:1rem;text-align:left;font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e5e7eb}.exam-history-table td{padding:1rem;border-bottom:1px solid #e5e7eb;color:#1f2937}.exam-history-table tbody tr:hover{background:#f9fafb}.exam-name{font-weight:600;color:#1f2937}.exam-date{color:#6b7280;font-size:.875rem}.exam-score{font-weight:700;color:#6366f1;font-size:1.125rem}.view-result-btn{padding:.5rem;background:#6366f1;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s;display:inline-flex;align-items:center;justify-content:center}.view-result-btn:hover{background:#4f46e5;transform:translateY(-1px)}@media(max-width:768px){.exam-history-table{font-size:.875rem}.exam-history-table th,.exam-history-table td{padding:.75rem .5rem}}@media(max-width:1024px){.profile-content{grid-template-columns:1fr;gap:1.5rem}.profile-sidebar{position:static}}.profile-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.profile-action-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1rem;background:#fff;border:2px solid #e5e7eb;border-radius:8px;color:#1f2937;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.profile-action-btn:hover{background:#f9fafb;border-color:#0866ff;color:#0866ff}.profile-action-btn.logout{border-color:#fecaca;color:#dc2626}.profile-action-btn.logout:hover{background:#fef2f2;border-color:#dc2626}.profile-action-btn svg{flex-shrink:0}.subjects{min-height:100vh;background:#f5f5f5}.subjects-content{max-width:1400px;margin:0 auto;padding:30px}.create-subject-btn{padding:7px 20px;background:#0866ff;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;white-space:nowrap}.subjects-table{background:#fff;border-radius:12px;box-shadow:none;overflow:hidden;border:none}.subjects-table table{width:100%;border-collapse:collapse;table-layout:fixed;border:none;outline:none}.subjects-table thead{background:#f9fafb}.subjects-table th{padding:16px;text-align:left;font-size:14px;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb;border-left:none;border-right:none;border-top:none;outline:none}.subjects-table td{padding:16px;font-size:14px;color:#1f2937;border-bottom:1px solid #e5e7eb;border-left:none;border-right:none;border-top:none;outline:none}.subjects-table tbody tr:hover{background:#f9fafb;outline:none}.subject-code{font-weight:600;color:#667eea}.subject-name-cell{font-weight:600;color:#1f2937}.subject-description{color:#6b7280}.status-badge-active{display:inline-block;padding:4px 12px;background:#d1fae5;color:#065f46;border-radius:12px;font-size:12px;font-weight:600}.action-buttons{display:flex;gap:8px}.navbar-logo-section{display:flex;align-items:center;gap:12px}.navbar-title{font-size:18px;font-weight:700;color:#fff}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto}.form-group input,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit}.exam-warning-overlay{position:fixed;inset:0;background:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.exam-warning-modal{background:#fff;border-radius:1.5rem;max-width:600px;width:100%;padding:2.5rem;box-shadow:0 25px 50px -12px #00000080;animation:slideUp .3s ease}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.warning-icon{display:flex;justify-content:center;margin-bottom:1.5rem;color:#f59e0b}.warning-title{text-align:center;font-size:1.75rem;font-weight:700;color:#1f2937;margin:0 0 2rem}.warning-content{margin-bottom:2rem}.exam-info-box{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;padding:1.5rem;border-radius:1rem;margin-bottom:1.5rem;text-align:center}.exam-info-box h2{font-size:1.25rem;font-weight:700;margin:0 0 .5rem}.exam-subjects{margin:0;font-size:.95rem;opacity:.95}.warning-messages{display:flex;flex-direction:column;gap:1rem}.warning-message{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:#f3f4f6;border-radius:.75rem;border-left:4px solid #6366f1}.warning-message.danger{background:#fef2f2;border-left-color:#ef4444}.warning-message svg{flex-shrink:0;margin-top:.125rem;color:#6366f1}.warning-message.danger svg{color:#ef4444}.warning-message span{font-size:.95rem;color:#374151;line-height:1.5}.good-luck{text-align:center;margin-top:1.5rem;padding-top:1.5rem;border-top:2px dashed #e5e7eb}.good-luck p{font-size:1.25rem;font-weight:600;color:#6366f1;margin:0}.warning-actions{display:flex;gap:1rem}.cancel-btn,.start-btn{flex:1;padding:.875rem 1.5rem;border:none;border-radius:.75rem;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.cancel-btn{background:#f3f4f6;color:#374151}.cancel-btn:hover:not(:disabled){background:#e5e7eb}.start-btn{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;box-shadow:0 4px 6px -1px #6366f14d}.start-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 15px -3px #6366f166}.cancel-btn:disabled,.start-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}@media(max-width:640px){.exam-warning-modal{padding:2rem 1.5rem}.warning-title{font-size:1.5rem}.warning-actions{flex-direction:column}}.tests{min-height:100vh;background:#f5f7fa}.tests-content{max-width:1200px;margin:0 auto;padding:2rem}.tests-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.test-card{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:none}.test-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;gap:.5rem}.test-title{font-size:1.25rem;color:#1f2937;font-weight:600;flex:1}.test-badge{padding:.25rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600;display:none}.badge-completed{background:#d1fae5;color:#065f46}.test-subject{color:#6b7280;font-size:.875rem;margin-bottom:1rem}.test-info{display:flex;justify-content:center;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:1rem;border-radius:8px}.test-info.has-result{display:grid;grid-template-columns:repeat(2,1fr)}.info-item{display:flex;flex-direction:column;gap:.25rem}.info-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.info-value{font-size:1rem;color:#1f2937;font-weight:600}.text-success{color:#10b981!important}.text-danger{color:#dc2626!important}.text-warning{color:#f59e0b!important}.test-btn:hover{box-shadow:none!important}.test-btn{padding:.75rem;border:none;border-radius:8px;font-weight:600;cursor:pointer}.test-btn.btn-primary{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important}.test-btn.btn-secondary{background:#fff;color:#6366f1;border:2px solid #6366f1}@media(max-width:768px){.tests-grid{grid-template-columns:1fr}}.create-test-btn{padding:7px 20px;background:#0866ff;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;white-space:nowrap}.test-btn-view{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px}.test-btn-view:hover{background:#f9fafb;border-color:#d1d5db}.test-btn-view svg{width:20px;height:20px}.test-btn-edit{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px}.test-btn-edit:hover{background:#f9fafb;border-color:#d1d5db}.test-btn-edit svg{width:20px;height:20px}.test-btn-danger{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:40px;height:40px}.test-btn-danger:hover{background:#f9fafb;border-color:#d1d5db}.test-btn-danger svg{width:20px;height:20px}.btn-result{background:#0866ff;color:#fff;border:none;flex:1}.quizzes{min-height:100vh;background:#f5f7fa}.quizzes-content{max-width:1200px;margin:0 auto;padding:2rem}.quizzes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.quiz-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:none;transition:transform .3s}.quiz-card:hover{transform:translateY(-5px);box-shadow:none}.quiz-header{padding:1.5rem;color:#fff;position:relative}.quiz-icon{font-size:2rem;margin-bottom:.5rem}.quiz-title{font-size:1.25rem;font-weight:600;margin-bottom:.25rem}.quiz-subject{font-size:.875rem;opacity:.9}.quiz-body{padding:1.5rem}.quiz-stats{display:flex;justify-content:space-around;margin-bottom:1.5rem;padding:1rem;border-radius:8px}.test-card .test-info{background:transparent}.test-card .info-item{background:transparent;border-bottom:none}.stat-item{text-align:center}.stat-value{font-size:1.5rem;font-weight:700;color:#1f2937;display:block}.stat-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.quiz-progress{margin-bottom:1.5rem}.progress-label{display:flex;justify-content:space-between;margin-bottom:.5rem;font-size:.875rem;color:#6b7280}.progress-bar{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden}.progress-fill{height:100%;border-radius:4px;transition:width .3s}.quiz-btn{width:100%;padding:.75rem;border:none;border-radius:8px;color:#fff;font-weight:600;cursor:pointer}@media(max-width:768px){.quizzes-grid{grid-template-columns:1fr}}.create-quiz-btn{padding:7px 20px;background:#0866ff;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;white-space:nowrap}.quiz-btn-secondary{padding:.75rem;border:2px solid #6366f1;background:#fff;color:#6366f1;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s}.quiz-btn-secondary:hover{background:#6366f1;color:#fff}.quiz-btn-view{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}.quiz-btn-view:hover{background:#f9fafb;border-color:#d1d5db}.quiz-btn-view svg{width:20px;height:20px}.quiz-btn-edit{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}.quiz-btn-edit:hover{background:#f9fafb;border-color:#d1d5db}.quiz-btn-edit svg{width:20px;height:20px}.quiz-btn-danger{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}.quiz-btn-danger:hover{background:#f9fafb;border-color:#d1d5db}.quiz-btn-danger svg{width:20px;height:20px}.quiz-actions{display:flex;flex-direction:column;gap:.5rem}.test-actions{display:flex;gap:.75rem;justify-content:center}.btn-primary{background:linear-gradient(135deg,#10b981,#059669)!important;color:#fff!important;padding:.75rem;border:none;border-radius:8px;font-weight:600;cursor:pointer;width:100%}.btn-secondary{background:#fff;padding:.75rem;border-radius:8px;font-weight:600;cursor:pointer;width:100%}.btn-result{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;border:none;flex:1}.btn-result:hover{opacity:.9}.btn-primary{flex:1}.exams{min-height:100vh;background:#f5f7fa}.exams-content{max-width:1200px;margin:0 auto;padding:2rem}.exams-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;max-width:1200px}.exam-card{background:#fff;padding:1.5rem;border-radius:12px;box-shadow:none;display:flex;flex-direction:column}.exam-main{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.exam-info-section{flex:1}.exam-title{font-size:1.25rem;color:#1f2937;margin-bottom:.5rem;font-weight:600}.exam-subject{color:#6b7280;font-size:.875rem;margin:0}.exam-date-section{display:none}.exams .exam-details{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#f9fafb;border-radius:8px;margin-bottom:1.5rem}.exams .exam-detail-item{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.exams .exam-detail-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.exams .exam-detail-value{font-size:1rem;color:#1f2937;font-weight:600;text-align:right}.exam-footer{display:flex;flex-direction:column;gap:1rem;margin-top:auto}.exam-actions{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap}.exam-btn-start{background:linear-gradient(135deg,#10b981,#059669)!important;flex:1}.exam-btn-result{background:#0866ff;color:#fff;border:none;flex:1}.exam-btn-result:hover{opacity:.9}.exam-status{padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;display:none}.status-upcoming{background:#dbeafe;color:#1e40af}.status-today{background:#fef3c7;color:#92400e}.exam-btn{padding:.625rem 1.5rem;border:none;border-radius:8px;color:#fff;font-weight:600;cursor:pointer;transition:opacity .3s;font-size:.875rem}.exam-btn:hover{opacity:.9}@media(max-width:768px){.exam-main{flex-direction:column;gap:1rem}.exam-date-section{text-align:left}.exam-details{grid-template-columns:repeat(2,1fr)}}.navbar-title{background:linear-gradient(135deg,#6366f1,#a855f7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.exam-attempt-badge{margin-top:.75rem}.attempt-status-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600}.badge-passed{background:#d1fae5;color:#065f46}.badge-failed{background:#fee2e2;color:#dc2626}.badge-pending{background:#fef3c7;color:#92400e}.exam-btn-secondary{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px}.exam-btn-secondary:hover{background:#f9fafb;border-color:#d1d5db}.exam-btn-secondary svg{width:20px;height:20px}.exam-btn-view{padding:.625rem 1.5rem;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;font-size:.875rem}.exam-btn-view:hover{background:#f9fafb;border-color:#d1d5db}.exam-btn-icon{padding:.5rem;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;width:40px;height:40px}.exam-btn-icon:hover{background:#f9fafb;border-color:#d1d5db}.exam-btn-icon svg{width:20px;height:20px}.exam-btn-danger{padding:0;border:1px solid #e5e7eb;background:#fff;color:#1f2937;border-radius:8px;font-weight:600;cursor:pointer;transition:all .3s;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px}.exam-btn-danger:hover{background:#f9fafb;border-color:#d1d5db}.exam-btn-danger svg{width:20px;height:20px}.create-exam-page{min-height:100vh;background:#f5f5f5}.create-exam-content{max-width:900px;margin:0 auto;padding:2rem}.create-exam-form-container{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 2px 8px #0000001a}.form-group{margin-bottom:1.5rem}.form-group label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.5rem}.form-group input[type=text],.form-group input[type=number],.form-group textarea{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:#6366f1}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.subjects-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem;padding:1rem;background:#f9fafb;border-radius:6px}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.875rem;color:#374151}.checkbox-label input[type=checkbox],.checkbox-label input[type=radio]{cursor:pointer}.submit-btn{padding:.625rem 1.5rem;background:#0866ff;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .3s;margin-top:.5rem}.submit-btn:hover:not(:disabled){background:#0866ff}@media(max-width:768px){.form-row,.subjects-list{grid-template-columns:1fr}}.timer{display:flex;align-items:center;gap:1rem;padding:1rem 1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;transition:all .3s ease}.timer.warning{background:#fef3c7;border:2px solid #f59e0b}.timer.critical{background:#fee2e2;border:2px solid #ef4444;animation:pulse 1s infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.02)}}.timer-icon{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:#0866ff;border-radius:50%;color:#fff}.timer.warning .timer-icon{background:#f59e0b}.timer.critical .timer-icon{background:#ef4444}.timer-content{flex:1}.timer-label{font-size:.875rem;color:#6b7280;margin-bottom:.25rem}.timer-value{font-size:1.5rem;font-weight:700;color:#1f2937}.timer.warning .timer-value{color:#92400e}.timer.critical .timer-value{color:#991b1b}.timer-progress{width:100%;height:6px;background:#e5e7eb;border-radius:3px;margin-top:.5rem;overflow:hidden}.timer-progress-bar{height:100%;background:#6366f1;transition:width 1s linear;border-radius:3px}.timer.warning .timer-progress-bar{background:#f59e0b}.timer.critical .timer-progress-bar{background:#ef4444}.exam-taking{min-height:100vh;background:#f3f4f6}.exam-header{background:#fff;padding:1.5rem 2rem;box-shadow:0 2px 8px #0000001a;display:flex;align-items:center;justify-content:space-between;gap:2rem}.navbar-logo-section{display:flex;align-items:center;gap:.75rem;transition:opacity .2s}.navbar-logo-section:hover{opacity:.8}.navbar-title{font-size:1.25rem;font-weight:700;color:#1f2937}.exam-info h1{font-size:1.5rem;font-weight:700;color:#1f2937;margin:0 0 .25rem}.exam-info p{font-size:.875rem;color:#6b7280;margin:0}.exam-content{display:grid;grid-template-columns:280px 1fr;gap:2rem;padding:2rem;max-width:1400px;margin:0 auto}.question-sidebar{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;height:-moz-fit-content;height:fit-content;position:sticky;top:2rem}.question-sidebar h3{font-size:1.125rem;font-weight:600;color:#1f2937;margin:0 0 1rem}.question-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem;margin-bottom:1.5rem}.question-number{aspect-ratio:1;border:2px solid #e5e7eb;background:#fff;border-radius:8px;font-size:.875rem;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s}.question-number:hover{border-color:#6366f1;color:#6366f1}.question-number.active{background:#6366f1;border-color:#6366f1;color:#fff}.question-number.answered{background:#d1fae5;border-color:#10b981;color:#065f46}.question-number.answered.active{background:#10b981;border-color:#10b981;color:#fff}.sidebar-stats{padding-top:1rem;border-top:1px solid #e5e7eb}.stat{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}.stat-label{font-size:.875rem;color:#6b7280}.stat-value{font-size:.875rem;font-weight:600;color:#1f2937}.question-main{background:#fff;border-radius:12px;padding:2rem;box-shadow:0 2px 8px #0000001a}.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.question-badge{background:#ede9fe;color:#0866ff;padding:.5rem 1rem;border-radius:8px;font-size:.875rem;font-weight:600}.question-points{background:#fef3c7;color:#92400e;padding:.5rem 1rem;border-radius:8px;font-size:.875rem;font-weight:600}.question-content{margin-bottom:2rem}.question-text{font-size:1.125rem;line-height:1.75;color:#1f2937;margin-bottom:1rem}.question-image{max-width:100%;height:auto;border-radius:8px;margin-top:1rem}.answer-section{margin-bottom:2rem}.options-list{display:flex;flex-direction:column;gap:1rem}.option-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .2s}.option-item:hover{border-color:#6366f1;background:#f5f3ff}.option-item input[type=radio],.option-item input[type=checkbox]{margin-top:.25rem;width:20px;height:20px;cursor:pointer}.option-item input[type=radio]:checked~.option-label,.option-item input[type=checkbox]:checked~.option-label{color:#6366f1}.option-label{font-weight:700;font-size:1rem;color:#1f2937;min-width:24px}.option-text{flex:1;font-size:1rem;color:#374151;line-height:1.5}.option-image{max-width:200px;height:auto;border-radius:4px;margin-left:auto}.open-answer{width:100%}.answer-textarea{width:100%;padding:1rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;font-family:inherit;resize:vertical;transition:border-color .2s}.answer-textarea:focus{outline:none;border-color:#6366f1}.question-navigation{display:flex;justify-content:space-between;gap:1rem;padding-top:1.5rem;border-top:2px solid #e5e7eb}.nav-btn{padding:.75rem 1.5rem;border:2px solid #e5e7eb;background:#fff;border-radius:8px;font-size:1rem;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s}.nav-btn:hover:not(:disabled){border-color:#6366f1;color:#6366f1}.nav-btn:disabled{opacity:.5;cursor:not-allowed}.nav-btn.primary{background:#0866ff;border-color:#0866ff;color:#fff}.submit-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #e5e7eb;text-align:center}.submit-btn{padding:1rem 3rem;background:#0866ff;border:none;border-radius:8px;font-size:1.125rem;font-weight:700;color:#fff;cursor:pointer;transition:all .2s}.submit-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1024px){.exam-content{grid-template-columns:1fr}.question-sidebar{position:static}}.subject-divider{grid-column:1 / -1;padding:7px 20px;background:#0866ff;color:#fff;font-weight:700;font-size:.875rem;text-align:center;border-radius:8px;margin:.5rem 0;text-transform:uppercase;letter-spacing:.5px}.exam-results{min-height:100vh;background:#f3f4f6}.navbar{background:#fff;padding:1rem 2rem;box-shadow:none;display:flex;align-items:center;justify-content:space-between}.exam-details-content{flex:1}.navbar-brand{font-size:1.5rem;font-weight:700;color:#0866ff}.navbar-right{display:flex;align-items:center;gap:1rem}.profile-menu{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;border-radius:8px;cursor:pointer;transition:background .2s}.profile-menu:hover{background:#f3f4f6}.profile-avatar{width:40px;height:40px;border-radius:50%;-o-object-fit:cover;object-fit:cover}.profile-name{font-weight:600;color:#1f2937}.logout-btn{padding:.75rem;background:#ef4444;border:none;border-radius:8px;color:#fff;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.logout-btn:hover{background:#dc2626}.results-content{max-width:1200px;margin:0 auto;padding:2rem}.results-header{margin-bottom:2rem}.back-btn{display:inline-flex;align-items:center;gap:.5rem;padding:7px 20px;background:#fff;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;font-weight:600;color:#6b7280;cursor:pointer;transition:all .2s}.back-btn:hover{border-color:#0866ff;color:#0866ff}.results-title{font-size:2rem;font-weight:700;color:#1f2937;margin:0}.results-summary{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:2rem}.score-card{grid-column:1 / -1;background:#fff;border-radius:12px;padding:2rem;box-shadow:none;display:flex;align-items:center;gap:2rem;border-left:none}.score-card.passed{background:linear-gradient(135deg,#fff,#f0fdf4)}.score-card.failed{background:linear-gradient(135deg,#fff,#fef2f2)}.score-icon{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ede9fe;color:#6366f1}.score-card.passed .score-icon{background:#d1fae5;color:#10b981}.score-card.failed .score-icon{background:#fee2e2;color:#ef4444}.score-content{flex:1}.score-label{font-size:1rem;color:#6b7280;margin-bottom:.5rem}.score-value{font-size:3rem;font-weight:700;color:#1f2937;line-height:1;margin-bottom:.75rem}.score-status{margin-top:.5rem}.status-badge{display:inline-block;padding:.5rem 1rem;border-radius:8px;font-size:.875rem;font-weight:600}.status-badge.passed{background:#d1fae5;color:#065f46}.status-badge.failed{background:#fee2e2;color:#991b1b}.status-badge.pending{background:#fef3c7;color:#92400e}.exam-info-card,.stats-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:none}.exam-info-card h3,.stats-card h3{font-size:1.25rem;font-weight:700;color:#1f2937;margin:0 0 1rem}.info-grid{display:flex;flex-direction:column;gap:.75rem}.info-item{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f3f4f6}.info-item:last-child{border-bottom:none}.info-label{font-size:.875rem;color:#6b7280}.info-value{font-size:.875rem;font-weight:600;color:#1f2937;text-align:right}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.stat-item{display:flex;align-items:center;gap:1rem;padding:1rem;background:#f9fafb;border-radius:8px}.stat-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center}.stat-icon.correct{background:#d1fae5;color:#10b981}.stat-icon.incorrect{background:#fee2e2;color:#ef4444}.stat-icon.pending{background:#fef3c7;color:#f59e0b}.stat-icon.total{background:#dbeafe;color:#3b82f6}.stat-content{flex:1}.stat-value{font-size:1.5rem;font-weight:700;color:#1f2937;line-height:1}.stat-label{font-size:.875rem;color:#6b7280;margin-top:.25rem}.answers-review{margin-top:2rem}.answers-review h2{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem}.answers-list{display:flex;flex-direction:column;gap:0}.answer-card{background:#fff;border-radius:12px;padding:1.25rem;box-shadow:none;border-left:none;margin-bottom:1rem}.answer-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem;padding-bottom:1rem;border-bottom:2px solid #f3f4f6}.answer-number{font-size:1rem;font-weight:700;color:#1f2937}.answer-points{font-size:.875rem;font-weight:600;color:#6b7280;margin-left:auto}.answer-status{padding:.375rem .75rem;border-radius:6px;font-size:.875rem;font-weight:600}.answer-status.status-correct{background:#d1fae5;color:#065f46}.answer-status.status-incorrect{background:#fee2e2;color:#991b1b}.answer-status.status-pending{background:#fef3c7;color:#92400e}.answer-body{display:flex;flex-direction:column;gap:1rem}.question-section,.answer-section,.correct-answer-section,.grading-info{display:flex;flex-direction:column;gap:.5rem}.section-label{font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.question-text{font-size:1rem;color:#1f2937;line-height:1.5}.question-image{max-width:400px;height:auto;border-radius:8px;margin-top:.5rem}.student-answer,.correct-answer{font-size:1rem;color:#1f2937;padding:1rem;background:#f9fafb;border-radius:8px;border:1px solid #e5e7eb}.correct-answer-section .correct-answer{background:#d1fae5;border-color:#10b981;color:#065f46;font-weight:600}.grading-details{font-size:.875rem;color:#6b7280;font-style:italic}.loading,.error{display:flex;align-items:center;justify-content:center;min-height:100vh;font-size:1.25rem;color:#6b7280}.error{color:#dc2626}@media(max-width:768px){.results-summary{grid-template-columns:1fr}.score-card{flex-direction:column;text-align:center}.stats-grid{grid-template-columns:1fr}.answer-header{flex-wrap:wrap}.answer-points{margin-left:0}}.navbar-logo{width:40px;height:40px;-o-object-fit:contain;object-fit:contain}.navbar-title{background:#0866ff;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.navbar-brand{display:flex;align-items:center;gap:.75rem;transition:opacity .2s}.navbar-brand:hover{opacity:.8}.subject-header{padding:.625rem 1rem;background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff;font-weight:600;font-size:.875rem;border-radius:8px;margin:1.5rem 0 .75rem;text-align:center;text-transform:uppercase;letter-spacing:.5px}.subject-header:first-child{margin-top:0}.stat-item{transition:all .2s ease}.stat-item:hover{opacity:.9}.stat-item.active{background:#e0e7ff;border:2px solid #6366f1}.stat-item.active:has(.stat-icon.correct){background:#d1fae5;border:2px solid #10b981}.stat-item.active:has(.stat-icon.incorrect){background:#fee2e2;border:2px solid #ef4444}.stat-item.active:has(.stat-icon.pending){background:#fef3c7;border:2px solid #f59e0b}.stat-item.active:has(.stat-icon.total){background:#dbeafe;border:2px solid #3b82f6}.empty-filter-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem;text-align:center;color:#6b7280}.empty-filter-state svg{margin-bottom:1rem;opacity:.5}.empty-filter-state p{font-size:1.125rem;margin:0}.exam-details-content{max-width:1200px;margin:0 auto;padding:2rem;background:#f5f7fa;min-height:calc(100vh - 80px)}.detail-section{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-bottom:2rem}.detail-section-title{font-size:1.5rem;font-weight:700;color:#1f2937;margin-bottom:1.5rem;padding-bottom:.75rem;border-bottom:2px solid #e5e7eb}.detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.detail-item{display:flex;flex-direction:column;gap:.5rem}.detail-label{font-size:.875rem;color:#6b7280;font-weight:500;text-transform:uppercase;letter-spacing:.5px}.detail-value{font-size:1.125rem;color:#1f2937;font-weight:600}.detail-badge{display:inline-block;padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600;width:-moz-fit-content;width:fit-content}.badge-active{background:#dbeafe;color:#1e40af}.badge-inactive{background:#fee2e2;color:#dc2626}.questions-container{display:flex;flex-direction:column;gap:1.5rem}.question-card{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden}.question-card-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;background:#fff;border-bottom:1px solid #e5e7eb;flex-wrap:wrap;gap:1rem}.question-num{font-size:1.125rem;font-weight:700;color:#1f2937}.question-tags{display:flex;gap:.5rem;flex-wrap:wrap}.tag{padding:.375rem .875rem;border-radius:20px;font-size:.75rem;font-weight:600}.tag-easy{background:#d1fae5;color:#065f46}.tag-medium{background:#fef3c7;color:#92400e}.tag-hard{background:#fee2e2;color:#dc2626}.tag-type{background:#dbeafe;color:#1e40af}.tag-points{background:#e0e7ff;color:#4338ca}.question-card-body{padding:1.5rem}.question-text{font-size:1rem;color:#1f2937;line-height:1.6;margin-bottom:1rem}.question-img{margin-top:1rem}.question-img img{max-width:100%;max-height:300px;border-radius:8px;box-shadow:0 2px 8px #0000001a}.question-card-footer{display:flex;gap:2rem;padding:1rem 1.5rem;background:#fff;border-top:1px solid #e5e7eb;font-size:.875rem;color:#6b7280;flex-wrap:wrap}.question-info{display:flex;gap:.5rem}.question-info strong{color:#4b5563}.empty-state{text-align:center;padding:3rem;color:#6b7280;font-size:1.1rem}@media(max-width:768px){.detail-grid{grid-template-columns:1fr}.question-card-header{flex-direction:column;align-items:flex-start}.question-card-footer{flex-direction:column;gap:.5rem}}.info-message-box{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center;background:#f0f9ff;border:2px dashed #3b82f6;border-radius:12px;color:#1e40af}.info-message-box svg{margin-bottom:1rem;color:#3b82f6}.info-message-box p{font-size:1rem;line-height:1.6;margin:0;max-width:500px}.exam-info-message-box{margin-top:1.5rem;padding:1.5rem;background:#f0f9ff;border-radius:8px}.exam-info-message{color:#1e40af;font-size:.95rem;line-height:1.7;margin:0;text-align:justify}.questions-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem}.correct-answer{margin-top:1rem;padding:.75rem;background:#d1fae5;border-radius:8px;color:#065f46;font-size:.875rem}.exam-info-message-box.success{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-left:4px solid #10b981}.exam-info-message-box.success .exam-info-message{color:#065f46;font-weight:600;font-size:1.1rem}.exam-info-message-box.failed{background:linear-gradient(135deg,#fee2e2,#fecaca);border-left:4px solid #ef4444}.exam-info-message-box.failed .exam-info-message{color:#991b1b;font-weight:600;font-size:1.1rem}.exam-info-message-box.pending{background:linear-gradient(135deg,#fef3c7,#fde68a);border-left:4px solid #f59e0b}.exam-info-message-box.pending .exam-info-message{color:#92400e;font-weight:600;font-size:1.1rem}.question-bank{min-height:100vh;background:#f5f5f5}.question-bank-content{max-width:1400px;margin:0 auto;padding:30px}.page-header{display:flex;align-items:center;gap:20px;margin-bottom:30px}.create-question-btn{padding:7px 20px;background:#0866ff;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;white-space:nowrap}.filters-section{display:flex;gap:15px;margin-bottom:25px;background:#fff;padding:20px;border-radius:12px;box-shadow:none}.filter-group{flex:1;display:flex;flex-direction:column;gap:8px}.filter-group label{font-size:14px;font-weight:600;color:#374151}.filter-group select{padding:10px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;background:#fff;cursor:pointer}.reset-filters-btn{align-self:flex-end;padding:10px 20px;background:#6b7280;color:#fff;border:none;border-radius:8px;font-size:14px;cursor:pointer;transition:all .3s}.reset-filters-btn:hover{background:#4b5563}.questions-table{background:#fff;border-radius:12px;box-shadow:none;overflow:hidden}.questions-table table{width:100%;border-collapse:collapse}.questions-table thead{background:#f9fafb}.questions-table th{padding:16px;text-align:left;font-size:14px;font-weight:600;color:#374151;border-bottom:2px solid #e5e7eb}.questions-table td{padding:16px;font-size:14px;color:#1f2937;border-bottom:1px solid #e5e7eb}.questions-table td:last-child{white-space:nowrap}.questions-table tbody tr:hover{background:#f9fafb}.question-text-cell{max-width:400px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.difficulty-badge-small{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;color:#fff}.edit-btn-small{padding:8px;background:#fff;color:#1f2937;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;justify-content:center}.edit-btn-small:hover{background:#f9fafb;border-color:#d1d5db}.delete-btn-small{padding:8px;background:#fff;color:#1f2937;border:1px solid #e5e7eb;border-radius:6px;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;justify-content:center}.delete-btn-small:hover{background:#f9fafb;border-color:#d1d5db}.loading-text,.empty-text{text-align:center;padding:60px 20px;font-size:18px;color:#6b7280}.modal-overlay{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content-large{background:#fff;border-radius:16px;width:100%;max-width:800px;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e5e7eb}.modal-header h2{font-size:24px;font-weight:700;color:#1f2937;margin:0}.close-btn{background:none;border:none;font-size:32px;color:#6b7280;cursor:pointer;line-height:1;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.close-btn:hover{color:#374151}.modal-body{padding:24px}.form-group{margin-bottom:20px}.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-family:inherit}.form-group textarea{resize:vertical}.form-row{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:20px}.options-section{margin-top:24px;padding:20px;background:#f9fafb;border-radius:8px}.options-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.options-header label{font-size:16px;font-weight:600;color:#374151}.add-option-btn{padding:6px 12px;background:#10b981;color:#fff;border:none;border-radius:6px;font-size:13px;cursor:pointer;transition:all .3s}.add-option-btn:hover{background:#059669}.option-row{display:flex;align-items:center;gap:12px;margin-bottom:12px;background:#fff;padding:12px;border-radius:8px}.option-label{font-size:16px;font-weight:700;color:#667eea;min-width:30px}.option-input{flex:1;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:14px}.checkbox-container{display:flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.checkbox-container input{width:auto;cursor:pointer}.checkbox-container span{font-size:13px;color:#374151}.remove-option-btn{background:#ef4444;color:#fff;border:none;border-radius:50%;width:28px;height:28px;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .3s}.remove-option-btn:hover{background:#dc2626}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:24px;border-top:1px solid #e5e7eb}.cancel-btn{padding:10px 24px;background:#e5e7eb;color:#374151;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.cancel-btn:hover{background:#d1d5db}.submit-btn{padding:10px 24px;background:#0866ff;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .3s}.submit-btn:hover{background:#0866ff}.practice-tests{min-height:100vh;background:#f5f5f5}.practice-content{max-width:800px;margin:0 auto;padding:30px}.practice-card{background:#fff;border-radius:16px;overflow:hidden}.practice-header{background:#fff;color:#1f2937;padding:40px;text-align:center}.practice-icon{font-size:64px;margin-bottom:16px}.practice-header h2{font-size:28px;font-weight:700;margin:0 0 8px}.practice-header p{font-size:16px;margin:0}.practice-form{padding:40px}.form-group{margin-bottom:24px}.form-group label{display:block;font-size:14px;font-weight:600;color:#374151;margin-bottom:8px}.form-group input,.form-group select{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;transition:all .3s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#667eea}.form-group small{display:block;margin-top:6px;font-size:12px;color:#6b7280}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.info-box{display:flex;gap:12px;padding:16px;background:#eff6ff;border-left:none;border-radius:8px;margin-bottom:24px}.info-box svg{flex-shrink:0;color:#3b82f6;margin-top:2px}.info-box div{font-size:14px;color:#1e40af;line-height:1.6}.info-box strong{font-weight:600}.start-practice-btn{width:100%;padding:16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s}.start-practice-btn:hover:not(:disabled){transform:translateY(-2px)}.start-practice-btn:disabled{opacity:.6;cursor:not-allowed}.results{min-height:100vh;background:#f5f7fa}.results-content{max-width:1400px;margin:0 auto;padding:2rem}.results-layout{display:grid;grid-template-columns:300px 1fr;gap:2rem;margin-top:2rem}.exams-sidebar{background:#fff;border-radius:12px;padding:1.5rem;height:-moz-fit-content;height:fit-content;position:sticky;top:2rem}.exams-sidebar h3{font-size:1.125rem;color:#1f2937;margin-bottom:1rem;padding-bottom:.75rem;border-bottom:2px solid #e5e7eb}.exam-list{display:flex;flex-direction:column;gap:.5rem}.exam-item{padding:1rem;border-radius:8px;cursor:pointer;transition:all .2s;border:2px solid transparent}.exam-item:hover{background:#f9fafb}.exam-item.active{background:#eff6ff;border-color:#6366f1}.exam-item-title{font-weight:600;color:#1f2937;margin-bottom:.25rem}.exam-item-meta{font-size:.875rem;color:#6b7280}.attempts-main{background:#fff;border-radius:12px;padding:2rem;min-height:400px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:4rem 2rem;color:#6b7280}.empty-state svg{margin-bottom:1rem}.empty-state p{font-size:1.125rem}.attempts-table{overflow-x:auto}.attempts-table table{width:100%;border-collapse:collapse}.attempts-table thead{background:#f9fafb}.attempts-table th{padding:1rem;text-align:left;font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;border-bottom:2px solid #e5e7eb}.attempts-table td{padding:1rem;border-bottom:1px solid #e5e7eb;color:#1f2937}.attempts-table tbody tr:hover{background:#f9fafb}.student-name{font-weight:600;color:#1f2937}.attempt-date{color:#6b7280;font-size:.875rem}.attempt-score{font-weight:700;color:#6366f1;font-size:1.125rem}.status-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.375rem .75rem;border-radius:12px;font-size:.75rem;font-weight:600}.status-passed{background:#d1fae5;color:#065f46}.status-failed{background:#fee2e2;color:#dc2626}.view-btn{padding:.5rem 1rem;background:#6366f1;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .2s}.view-btn:hover{background:#4f46e5;transform:translateY(-1px)}.delete-btn-small{padding:8px;border-radius:6px;cursor:pointer;transition:all .3s;display:inline-flex;align-items:center;justify-content:center}@media(max-width:1024px){.results-layout{grid-template-columns:1fr}.exams-sidebar{position:static}}.page-title{font-size:32px;font-weight:700;color:#1f2937;margin:0}.page-subtitle{font-size:16px;color:#6b7280;margin:5px 0 0}.grade-attempt{min-height:100vh;background:#f5f7fa}.grade-content{max-width:1200px;margin:0 auto;padding:2rem}.grade-header{display:flex;align-items:center;gap:1rem;margin-bottom:2rem}.grade-title{font-size:2rem;color:#1f2937;font-weight:700}.grade-summary{margin-bottom:2rem}.summary-card{background:#fff;padding:2rem;border-radius:12px;box-shadow:0 2px 8px #0000000d}.summary-card h3{font-size:1.5rem;color:#1f2937;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #e5e7eb}.summary-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.info-item{display:flex;flex-direction:column;gap:.5rem}.info-label{font-size:.875rem;color:#6b7280;font-weight:600}.info-value{font-size:1.125rem;color:#1f2937;font-weight:600}.score-value{color:#6366f1;font-size:1.5rem}.answers-review{margin-bottom:2rem}.answers-review h2{font-size:1.5rem;color:#1f2937;margin-bottom:1.5rem}.answers-list{display:flex;flex-direction:column;gap:1.5rem}.answer-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #0000000d;border-left:4px solid #e5e7eb}.answer-card.open-question{border-left-color:#f59e0b}.answer-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:2px solid #f3f4f6}.answer-number{font-size:1.125rem;font-weight:700;color:#1f2937}.answer-points{display:flex;align-items:center;gap:.5rem;font-size:1rem;font-weight:600;color:#6366f1}.points-input{width:60px;padding:.25rem .5rem;border:2px solid #e5e7eb;border-radius:6px;font-size:1rem;font-weight:600;text-align:center}.points-input:focus{outline:none;border-color:#6366f1}.points-input:disabled{background:#f3f4f6;cursor:not-allowed}.answer-status{padding:.5rem 1rem;border-radius:20px;font-size:.875rem;font-weight:600}.status-correct{background:#d1fae5;color:#065f46}.status-incorrect{background:#fee2e2;color:#dc2626}.status-pending{background:#fef3c7;color:#92400e}.answer-body{display:flex;flex-direction:column;gap:1.5rem}.question-section,.answer-section,.correct-answer-section,.grading-section,.grading-info{display:flex;flex-direction:column;gap:.75rem}.section-label{font-size:.875rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.question-text{font-size:1.125rem;color:#1f2937;line-height:1.6}.question-image{max-width:400px;border-radius:8px;margin-top:.5rem}.student-answer{padding:1rem;background:#f9fafb;border-radius:8px;color:#1f2937;font-size:1rem;line-height:1.6}.correct-answer{padding:1rem;background:#d1fae5;border-radius:8px;color:#065f46;font-size:1rem;font-weight:600}.feedback-textarea{padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;font-family:inherit;resize:vertical;min-height:80px}.feedback-textarea:focus{outline:none;border-color:#6366f1}.feedback-textarea:disabled{background:#f3f4f6;cursor:not-allowed}.grading-details{font-size:.875rem;color:#6b7280;padding:.75rem;background:#f9fafb;border-radius:6px}.grade-actions{display:flex;gap:1rem;justify-content:center;padding:2rem 0}.btn{border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s}.btn-primary{background:#6366f1;color:#fff}.btn-primary:hover:not(:disabled){background:#4f46e5;transform:translateY(-2px)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary:hover{background:#f9fafb}.alert{padding:1rem;border-radius:8px;margin-bottom:1.5rem;font-size:.875rem;font-weight:500}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.alert-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}@media(max-width:768px){.answer-header{flex-direction:column;align-items:flex-start;gap:.75rem}.summary-info{grid-template-columns:1fr}.grade-actions{flex-direction:column}.btn{width:100%}}.grading-buttons{display:flex;gap:1rem;flex-wrap:wrap;margin-top:.5rem}.grade-btn{flex:1;min-width:150px;padding:.875rem 1.5rem;border:2px solid;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s;background:#fff}.grade-btn:disabled{opacity:.6;cursor:not-allowed}.grade-full{border-color:#10b981;color:#10b981}.grade-full:hover:not(:disabled){background:#10b981;color:#fff}.grade-full.active{background:#10b981;color:#fff}.grade-half{border-color:#f59e0b;color:#f59e0b}.grade-half:hover:not(:disabled){background:#f59e0b;color:#fff}.grade-half.active{background:#f59e0b;color:#fff}.grade-zero{border-color:#ef4444;color:#ef4444}.grade-zero:hover:not(:disabled){background:#ef4444;color:#fff}.grade-zero.active{background:#ef4444;color:#fff}.correct-answer-input{width:100%;padding:.75rem;border:2px solid #e5e7eb;border-radius:8px;font-size:1rem;margin-top:.5rem}.correct-answer-input:focus{outline:none;border-color:#6366f1}.correct-answer-input:disabled{background:#f3f4f6;cursor:not-allowed}.notfound-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.notfound-content{text-align:center;max-width:600px;background:#fff;padding:3rem 2rem;border-radius:20px;box-shadow:0 25px 50px -12px #00000040;animation:fadeInUp .6s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.notfound-icon{display:inline-flex;align-items:center;justify-content:center;width:120px;height:120px;background:linear-gradient(135deg,#fee2e2,#fecaca);border-radius:50%;margin-bottom:2rem;color:#dc2626;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}.notfound-title{font-size:6rem;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin:0 0 1rem;line-height:1}.notfound-subtitle{font-size:2rem;font-weight:700;color:#1f2937;margin:0 0 1rem}.notfound-message{font-size:1.125rem;color:#6b7280;margin:0 0 2.5rem;line-height:1.6}.notfound-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}.notfound-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.875rem 1.75rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 12px #0000001a}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.btn-secondary{background:#fff;color:#6b7280;border:2px solid #e5e7eb}.btn-secondary:hover{background:#f9fafb;border-color:#d1d5db;transform:translateY(-2px);box-shadow:0 8px 20px #0000001a}@media(max-width:640px){.notfound-content{padding:2rem 1.5rem}.notfound-title{font-size:4rem}.notfound-subtitle{font-size:1.5rem}.notfound-message{font-size:1rem}.notfound-actions{flex-direction:column}.notfound-btn{width:100%;justify-content:center}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background:#f5f7fa}.app{min-height:100vh}
