*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{color:#172033;background:#f6f8fc;min-width:320px;min-height:100vh;margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}.home-page{background:radial-gradient(circle at 0 0,#4f46e51f,#0000 35%),radial-gradient(circle at 100% 100%,#0ea5e91f,#0000 35%),#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:48px 20px;display:flex}.home-container{text-align:center;width:100%;max-width:1050px}.brand-badge{color:#4f46e5;background:#eef2ff;border-radius:999px;margin-bottom:20px;padding:8px 15px;font-size:14px;font-weight:700;display:inline-block}.home-container h1{letter-spacing:-3px;max-width:800px;margin:0 auto;font-size:clamp(42px,7vw,72px);line-height:1.05}.home-container h1 span{color:#4f46e5}.home-description{color:#64748b;max-width:700px;margin:24px auto 45px;font-size:18px;line-height:1.7}.role-cards{text-align:left;grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.role-card{background:#ffffffeb;border:1px solid #e5e7eb;border-radius:22px;padding:32px;transition:transform .2s,box-shadow .2s;box-shadow:0 15px 50px #0f172a12}.role-card:hover{transform:translateY(-5px);box-shadow:0 22px 60px #0f172a1c}.role-icon{color:#4f46e5;background:#eef2ff;border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:22px;font-weight:800;display:flex}.role-card h2{margin:0 0 10px;font-size:24px}.role-card p{color:#64748b;min-height:55px;margin-bottom:25px;line-height:1.6}.primary-button,.secondary-button,.submit-button{border-radius:10px;min-height:46px;padding:0 20px;font-weight:700;transition:all .2s}.primary-button,.submit-button{color:#fff;background:#4f46e5;border:none}.primary-button:hover,.submit-button:hover{background:#4338ca}.secondary-button{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe}.secondary-button:hover{background:#e0e7ff}.form-page{background:radial-gradient(circle at top,#4f46e51f,#0000 40%),#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:30px 20px;display:flex}.form-card{background:#fff;border:1px solid #e5e7eb;border-radius:22px;width:100%;max-width:500px;padding:32px;box-shadow:0 20px 60px #0f172a17}.back-button{color:#64748b;background:0 0;border:none;margin-bottom:25px;padding:0}.form-header{text-align:center;margin-bottom:28px}.form-icon{color:#4f46e5;background:#eef2ff;border-radius:15px;justify-content:center;align-items:center;width:55px;height:55px;margin:0 auto 16px;font-weight:800;display:flex}.form-header h1{margin:0 0 8px;font-size:30px}.form-header p{color:#64748b;margin:0;line-height:1.6}.form-group{text-align:left;margin-bottom:20px}.form-group label{color:#334155;margin-bottom:8px;font-size:14px;font-weight:700;display:block}.form-group input,.form-group textarea,.form-group select{color:#172033;background:#fff;border:1px solid #dbe2ea;border-radius:10px;outline:none;width:100%;padding:13px 14px;transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11f}.submit-button{width:100%;margin-top:8px}.submit-button:disabled{cursor:not-allowed;opacity:.65}.error-message{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;margin-bottom:20px;padding:12px 14px;font-size:14px}@media (width<=700px){.home-container h1{letter-spacing:-2px}.role-cards{grid-template-columns:1fr}.role-card p{min-height:auto}.form-card{padding:24px}}.coding-test-page{background:#0f172a;flex-direction:column;height:100vh;display:flex;overflow:hidden}.test-header{background:#fff;border-bottom:1px solid #e2e8f0;grid-template-columns:1fr auto 1fr;align-items:center;min-height:68px;padding:0 22px;display:grid}.test-brand{align-items:center;gap:12px;display:flex}.test-brand-icon{color:#fff;background:#4f46e5;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-weight:800;display:flex}.test-brand strong,.test-brand span{display:block}.test-brand strong{color:#172033;font-size:14px}.test-brand span{color:#64748b;margin-top:3px;font-size:12px}.test-title-header{color:#334155;font-weight:700}.test-timer{color:#4338ca;text-align:center;background:#eef2ff;border-radius:9px;justify-self:end;min-width:105px;padding:9px 13px;font-family:monospace;font-size:16px;font-weight:800}.test-timer.warning{color:#dc2626;background:#fef2f2}.timer-icon{margin-right:6px}.test-workspace{flex:1;grid-template-columns:minmax(320px,40%) 1fr;min-height:0;display:grid}.problem-area{background:#fff;border-right:1px solid #dbe2ea;overflow-y:auto}.question-panel{padding:32px}.question-number{color:#6366f1;text-transform:uppercase;letter-spacing:.7px;margin-bottom:14px;font-size:13px;font-weight:800}.question-title{color:#172033;margin:0 0 12px;font-size:29px;line-height:1.25}.question-marks{color:#4338ca;background:#eef2ff;border-radius:7px;padding:6px 10px;font-size:13px;font-weight:800;display:inline-block}.question-section{margin-top:30px}.question-section h3{color:#334155;margin:0 0 12px;font-size:16px}.problem-statement{color:#475569;white-space:pre-wrap;margin:0;line-height:1.8}.example-box{color:#334155;white-space:pre-wrap;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin:0;padding:17px;font-family:SFMono-Regular,Consolas,monospace;line-height:1.7;overflow-x:auto}.editor-area{background:#1e1e1e;flex-direction:column;min-width:0;min-height:0;display:flex}.editor-toolbar{background:#172033;border-bottom:1px solid #334155;justify-content:space-between;align-items:center;min-height:54px;padding:0 14px;display:flex}.question-navigation{gap:7px;display:flex;overflow-x:auto}.question-nav-button{color:#cbd5e1;background:#273449;border:1px solid #475569;border-radius:7px;min-width:42px;height:34px;padding:0 10px;font-size:13px;font-weight:700;position:relative}.question-nav-button.active{color:#fff;background:#4f46e5;border-color:#818cf8}.answered-dot{background:#22c55e;border-radius:50%;width:6px;height:6px;position:absolute;top:4px;right:4px}.language-selector{color:#fff;background:#273449;border:1px solid #475569;border-radius:7px;outline:none;min-width:110px;padding:8px 10px;font-weight:700}.editor-container{flex:1;min-height:0}.code-editor-wrapper{width:100%;height:100%}.test-footer{background:#172033;border-top:1px solid #334155;justify-content:space-between;align-items:center;min-height:66px;padding:0 15px;display:flex}.question-controls{gap:9px;display:flex}.navigation-button{color:#e2e8f0;background:#273449;border:1px solid #475569;border-radius:8px;min-height:39px;padding:0 15px;font-weight:700}.navigation-button:disabled{cursor:not-allowed;opacity:.4}.final-submit-button{color:#fff;background:#16a34a;border:none;border-radius:8px;min-height:41px;padding:0 20px;font-weight:800}.final-submit-button:hover{background:#15803d}.final-submit-button:disabled{cursor:not-allowed;opacity:.65}.test-error-message{color:#b91c1c;background:#fef2f2;border-top:1px solid #fecaca;padding:10px 15px;font-size:14px}.modal-overlay{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172ab8;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.confirmation-modal{text-align:center;background:#fff;border-radius:18px;width:100%;max-width:440px;padding:30px;box-shadow:0 25px 70px #00000040}.modal-icon{color:#16a34a;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;margin:0 auto 17px;font-size:28px;font-weight:900;display:flex}.confirmation-modal h2{color:#172033;margin:0 0 8px}.confirmation-modal>p{color:#64748b;margin:0 0 22px}.submission-summary{color:#475569;background:#f8fafc;border-radius:10px;justify-content:space-between;margin-bottom:24px;padding:14px 16px;display:flex}.submission-summary strong{color:#172033}.modal-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.cancel-submit-button,.confirm-submit-button{border-radius:9px;min-height:44px;font-weight:800}.cancel-submit-button{color:#475569;background:#fff;border:1px solid #dbe2ea}.confirm-submit-button{color:#fff;background:#16a34a;border:none}.success-page{background:radial-gradient(circle at top,#22c55e1f,#0000 40%),#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:25px;display:flex}.success-card{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:22px;width:100%;max-width:560px;padding:42px;box-shadow:0 20px 60px #0f172a17}.success-icon{color:#16a34a;background:#dcfce7;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin:0 auto 22px;font-size:35px;font-weight:900;display:flex}.success-card h1{color:#172033;margin:0 0 10px;font-size:30px}.success-card>p{color:#64748b;margin:0 auto 28px;line-height:1.7}.success-details{text-align:left;border:1px solid #e2e8f0;border-radius:12px;margin-bottom:25px;overflow:hidden}.success-details>div{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:20px;padding:14px 16px;display:flex}.success-details>div:last-child{border-bottom:none}.success-details span{color:#64748b}.success-details strong{color:#172033}.auto-submit-notice{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:9px;margin-bottom:20px;padding:12px;font-size:14px}.return-home-button{color:#fff;background:#4f46e5;border:none;border-radius:9px;min-height:45px;padding:0 22px;font-weight:800}.test-loading-page{color:#475569;background:#f8fafc;justify-content:center;align-items:center;min-height:100vh;font-size:18px;font-weight:700;display:flex}@media (width<=850px){.coding-test-page{height:auto;min-height:100vh;overflow:visible}.test-header{grid-template-columns:1fr auto;gap:10px;padding:12px 15px}.test-title-header{display:none}.test-workspace{display:block}.problem-area{border-bottom:1px solid #dbe2ea;border-right:none;max-height:none}.editor-area{height:650px}.question-panel{padding:24px 20px}}@media (width<=550px){.test-brand strong{font-size:12px}.test-brand span{display:none}.test-timer{min-width:90px;font-size:14px}.editor-toolbar{gap:10px}.language-selector{min-width:95px}.test-footer{flex-direction:column;justify-content:center;gap:12px;min-height:120px}.question-controls,.final-submit-button{width:100%}.question-controls button{flex:1}.final-submit-button{min-height:43px}.modal-actions{grid-template-columns:1fr}.success-card{padding:30px 20px}}.teacher-page,.create-test-page{background:#f8fafc;min-height:100vh}.teacher-navbar{background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;min-height:72px;padding:0 40px;display:flex}.teacher-brand{cursor:pointer;align-items:center;gap:12px;display:flex}.teacher-brand-icon{color:#fff;background:#4f46e5;border-radius:11px;justify-content:center;align-items:center;width:42px;height:42px;font-weight:800;display:flex}.teacher-brand strong,.teacher-brand span{display:block}.teacher-brand strong{color:#172033;font-size:15px}.teacher-brand span{color:#64748b;margin-top:3px;font-size:12px}.create-test-button{color:#fff;background:#4f46e5;border:none;border-radius:9px;min-height:43px;padding:0 18px;font-weight:800}.create-test-button:hover{background:#4338ca}.teacher-content,.create-test-container{width:min(1360px,100% - 40px);margin:0 auto;padding:45px 0 70px}.dashboard-heading{justify-content:space-between;margin-bottom:32px;display:flex}.dashboard-eyebrow{color:#4f46e5;letter-spacing:.7px;text-transform:uppercase;margin-bottom:8px;font-size:13px;font-weight:800;display:block}.dashboard-heading h1,.create-test-heading h1{color:#172033;letter-spacing:-1.5px;margin:0 0 10px;font-size:38px}.dashboard-heading p,.create-test-heading p{color:#64748b;max-width:680px;margin:0;line-height:1.7}.dashboard-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px;padding:13px 16px;display:flex}.dashboard-error button{color:#b91c1c;background:0 0;border:none;font-weight:800}.dashboard-state{color:#64748b;flex-direction:column;justify-content:center;align-items:center;min-height:300px;display:flex}.dashboard-spinner{border:4px solid #e0e7ff;border-top-color:#4f46e5;border-radius:50%;width:36px;height:36px;animation:.8s linear infinite dashboard-spin}@keyframes dashboard-spin{to{transform:rotate(360deg)}}.empty-tests-state{text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:18px;padding:65px 25px}.empty-tests-icon{color:#4f46e5;background:#eef2ff;border-radius:16px;justify-content:center;align-items:center;width:65px;height:65px;margin:0 auto 18px;font-size:18px;font-weight:900;display:flex}.empty-tests-state h2{color:#172033;margin:0 0 8px}.empty-tests-state p{color:#64748b;max-width:470px;margin:0 auto 22px;line-height:1.7}.test-cards-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.teacher-test-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;box-shadow:0 8px 30px #0f172a0d}.test-card-top{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.test-status-badge{letter-spacing:.4px;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.status-draft{color:#475569;background:#f1f5f9}.status-active{color:#15803d;background:#dcfce7}.status-completed{color:#475569;background:#e2e8f0}.test-card-id{color:#94a3b8;font-size:13px;font-weight:700}.teacher-test-card h2{color:#172033;margin:0 0 8px;font-size:22px}.test-card-description{color:#64748b;min-height:48px;margin:0 0 22px;line-height:1.6}.test-card-stats{border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:repeat(3,1fr);margin-bottom:22px;display:grid;overflow:hidden}.test-card-stats>div{border-right:1px solid #e2e8f0;padding:12px}.test-card-stats>div:last-child{border-right:none}.test-card-stats span,.test-card-stats strong{display:block}.test-card-stats span{color:#94a3b8;margin-bottom:5px;font-size:11px}.test-card-stats strong{color:#334155;font-size:13px}.access-code-value{font-family:monospace;color:#4f46e5!important}.test-card-actions{gap:9px;display:flex}.activate-test-button,.complete-test-button,.view-results-button{border-radius:8px;min-height:40px;padding:0 14px;font-weight:800}.activate-test-button{color:#fff;background:#16a34a;border:none}.complete-test-button{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}.view-results-button{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;margin-left:auto}.teacher-back-button{color:#64748b;background:0 0;border:none;margin-bottom:25px;padding:0;font-weight:700}.create-test-heading{margin-bottom:30px}.create-test-form{flex-direction:column;gap:24px;display:flex}.teacher-form-section{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:28px}.section-heading{align-items:center;gap:13px;margin-bottom:25px;display:flex}.section-number{color:#4f46e5;background:#eef2ff;border-radius:10px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;font-weight:900;display:flex}.section-heading h2{color:#172033;margin:0 0 3px;font-size:19px}.section-heading p{color:#94a3b8;margin:0;font-size:13px}.teacher-form-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.teacher-form-group.full-width{grid-column:1/-1}.teacher-form-group label{color:#334155;margin-bottom:8px;font-size:13px;font-weight:800;display:block}.teacher-form-group input,.teacher-form-group textarea{resize:vertical;color:#172033;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:none;width:100%;padding:12px 13px;line-height:1.6}.teacher-form-group input:focus,.teacher-form-group textarea:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.questions-form-list{flex-direction:column;gap:18px;display:flex}.question-form-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:13px;padding:22px}.question-form-header{justify-content:space-between;gap:20px;margin-bottom:20px;display:flex}.question-form-header span,.question-form-header strong{display:block}.question-form-header span{color:#6366f1;text-transform:uppercase;margin-bottom:4px;font-size:11px;font-weight:900}.question-form-header strong{color:#334155}.remove-question-button{color:#dc2626;background:0 0;border:none;align-self:flex-start;font-size:13px;font-weight:800}.add-question-button{color:#4f46e5;background:#f5f7ff;border:1px dashed #a5b4fc;border-radius:10px;width:100%;min-height:48px;margin-top:18px;font-weight:800}.create-test-actions{justify-content:flex-end;gap:10px;display:flex}.cancel-create-button,.save-test-button{border-radius:9px;min-height:45px;padding:0 22px;font-weight:800}.cancel-create-button{color:#475569;background:#fff;border:1px solid #dbe2ea}.save-test-button{color:#fff;background:#4f46e5;border:none}.save-test-button:disabled{cursor:not-allowed;opacity:.65}@media (width<=800px){.teacher-navbar{padding:12px 20px}.teacher-content,.create-test-container{width:min(100% - 30px,1180px);padding-top:30px}.test-cards-grid,.teacher-form-grid{grid-template-columns:1fr}.teacher-form-group.full-width{grid-column:auto}}@media (width<=550px){.teacher-navbar .create-test-button{padding:0 12px;font-size:12px}.teacher-brand strong{font-size:13px}.dashboard-heading h1,.create-test-heading h1{font-size:31px}.teacher-form-section{padding:20px}.test-card-stats{grid-template-columns:1fr}.test-card-stats>div{border-bottom:1px solid #e2e8f0;border-right:none}.test-card-stats>div:last-child{border-bottom:none}.test-card-actions{flex-direction:column}.view-results-button{margin-left:0}.create-test-actions{grid-template-columns:1fr 1fr;display:grid}}.results-page-heading{margin-bottom:28px}.results-page-heading h1{color:#172033;letter-spacing:-1.4px;margin:0 0 9px;font-size:38px}.results-page-heading p{color:#64748b;max-width:700px;margin:0;line-height:1.7}.results-refresh-button{color:#475569;background:#fff;border:1px solid #dbe2ea;border-radius:8px;min-height:40px;padding:0 15px;font-weight:800}.results-refresh-button:disabled{cursor:not-allowed;opacity:.6}.result-statistics-grid{grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px;display:grid}.result-stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:13px;padding:20px}.result-stat-card span,.result-stat-card strong{display:block}.result-stat-card span{color:#64748b;margin-bottom:8px;font-size:13px;font-weight:700}.result-stat-card strong{color:#172033;font-size:28px}.results-table-section{background:#fff;border:1px solid #e2e8f0;border-radius:15px;overflow:hidden}.results-table-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;display:flex}.results-table-header h2{color:#172033;margin:0 0 4px;font-size:19px}.results-table-header p{color:#94a3b8;margin:0;font-size:13px}.results-search-input{border:1px solid #dbe2ea;border-radius:8px;outline:none;width:260px;padding:10px 13px}.results-search-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.results-table-wrapper{overflow-x:auto}.results-table{border-collapse:collapse;width:100%}.results-table th,.results-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #edf0f4;padding:15px 18px}.results-table th{color:#64748b;text-transform:uppercase;letter-spacing:.3px;background:#f8fafc;font-size:12px;font-weight:800}.results-table td{color:#475569;font-size:14px}.results-table tbody tr:hover{background:#fafbff}.student-table-name{align-items:center;gap:10px;display:flex}.student-avatar,.large-student-avatar{color:#4f46e5;background:#eef2ff;border-radius:50%;justify-content:center;align-items:center;font-weight:900;display:flex}.student-avatar{width:35px;height:35px}.large-student-avatar{flex:none;width:68px;height:68px;font-size:25px}.student-table-name strong{color:#334155}.student-uid{color:#475569;font-family:monospace}.result-status-badge{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;display:inline-block}.result-status-submitted{color:#15803d;background:#dcfce7}.result-status-progress{color:#b45309;background:#fef3c7}.result-status-expired{color:#dc2626;background:#fee2e2}.result-status-default{color:#475569;background:#f1f5f9}.final-score-value{color:#4f46e5!important}.view-student-result-button{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;border-radius:7px;min-height:35px;padding:0 12px;font-size:12px;font-weight:800}.results-empty-state{color:#64748b;text-align:center;padding:60px 20px}.results-empty-state>div{margin-bottom:10px;font-size:35px}.results-empty-state h3{color:#334155;margin:0 0 7px}.results-empty-state p{margin:0}.full-page-state{min-height:100vh}.student-result-hero{background:#fff;border:1px solid #e2e8f0;border-radius:16px;justify-content:space-between;align-items:center;gap:30px;margin-bottom:30px;padding:25px;display:flex}.student-result-identity{align-items:center;gap:17px;display:flex}.student-result-identity h1{color:#172033;margin:0 0 5px;font-size:30px}.student-result-identity p{color:#64748b;margin:0}.student-score-summary{border:1px solid #e2e8f0;border-radius:11px;display:flex;overflow:hidden}.student-score-summary>div{text-align:center;border-right:1px solid #e2e8f0;min-width:105px;padding:13px 18px}.student-score-summary>div:last-child{border-right:none}.student-score-summary span,.student-score-summary strong{display:block}.student-score-summary span{color:#94a3b8;margin-bottom:5px;font-size:11px;font-weight:700}.student-score-summary strong{color:#334155;font-size:20px}.evaluation-list-heading{margin-bottom:18px}.evaluation-list-heading h2{color:#172033;margin:0 0 5px;font-size:22px}.evaluation-list-heading p{color:#64748b;margin:0}.evaluation-cards-list{flex-direction:column;gap:20px;display:flex}.evaluation-card{background:#fff;border:1px solid #e2e8f0;border-radius:15px;overflow:hidden}.evaluation-card-header{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:20px;padding:20px 22px;display:flex}.question-label{color:#6366f1;text-transform:uppercase;margin-bottom:5px;font-size:11px;font-weight:900;display:block}.evaluation-card-header h3{color:#172033;margin:0;font-size:19px}.evaluation-score-display{text-align:right}.evaluation-score-display strong,.evaluation-score-display span{display:block}.evaluation-score-display strong{color:#4f46e5;font-size:27px}.evaluation-score-display span{color:#94a3b8;font-size:11px}.evaluation-pending{background:#fef3c7;border-radius:999px;padding:6px 10px;font-weight:800;color:#b45309!important}.submission-meta-row{color:#64748b;background:#f8fafc;gap:25px;padding:12px 22px;font-size:13px;display:flex}.score-breakdown-grid{border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:repeat(5,1fr);margin:20px 22px;display:grid;overflow:hidden}.score-breakdown-grid>div{text-align:center;border-right:1px solid #e2e8f0;padding:14px}.score-breakdown-grid>div:last-child{border-right:none}.score-breakdown-grid span,.score-breakdown-grid strong{display:block}.score-breakdown-grid span{color:#94a3b8;margin-bottom:6px;font-size:11px}.score-breakdown-grid strong{color:#334155;font-size:18px}.evaluation-details-grid{grid-template-columns:1fr 180px;gap:15px;margin:0 22px 20px;display:grid}.ai-feedback-box,.confidence-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:17px}.ai-feedback-box h4{color:#334155;margin:0 0 8px}.ai-feedback-box p{color:#64748b;white-space:pre-wrap;margin:0;line-height:1.7}.confidence-box{text-align:center;flex-direction:column;justify-content:center;display:flex}.confidence-box span{color:#94a3b8;margin-bottom:8px;font-size:12px;font-weight:700}.confidence-box strong{font-size:28px}.confidence-high{color:#16a34a}.confidence-medium{color:#d97706}.confidence-low{color:#dc2626}.score-comparison-row{border:1px solid #e2e8f0;border-radius:10px;grid-template-columns:repeat(3,1fr);margin:0 22px 20px;display:grid;overflow:hidden}.score-comparison-row>div{text-align:center;border-right:1px solid #e2e8f0;padding:13px}.score-comparison-row>div:last-child{border-right:none}.score-comparison-row span,.score-comparison-row strong{display:block}.score-comparison-row span{color:#94a3b8;margin-bottom:5px;font-size:11px}.score-comparison-row strong{color:#334155}.teacher-comment-box{background:#eef2ff;border:1px solid #c7d2fe;border-radius:10px;margin:0 22px 20px;padding:15px}.teacher-comment-box strong{color:#4338ca}.teacher-comment-box p{color:#475569;margin:7px 0 0}.evaluation-actions{justify-content:flex-end;padding:0 22px 20px;display:flex}.override-marks-button{color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;border-radius:8px;min-height:40px;padding:0 15px;font-weight:800}.override-editor{background:#f5f7ff;border:1px solid #c7d2fe;border-radius:11px;margin:0 22px 22px;padding:20px}.override-editor-heading{margin-bottom:17px}.override-editor-heading h4{color:#334155;margin:0 0 4px}.override-editor-heading p{color:#64748b;margin:0;font-size:13px}.override-form-grid{grid-template-columns:180px 1fr;gap:15px;display:grid}.override-actions{justify-content:flex-end;gap:9px;margin-top:17px;display:flex}.evaluation-waiting{color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:10px;margin:20px 22px;padding:20px}@media (width<=850px){.result-statistics-grid{grid-template-columns:repeat(2,1fr)}.student-result-hero{flex-direction:column;align-items:flex-start}.student-score-summary{width:100%}.student-score-summary>div{flex:1}.score-breakdown-grid{grid-template-columns:repeat(2,1fr)}.score-breakdown-grid>div{border-bottom:1px solid #e2e8f0}.evaluation-details-grid{grid-template-columns:1fr}}@media (width<=600px){.results-table-header{flex-direction:column;align-items:stretch}.results-search-input{width:100%}.result-statistics-grid{grid-template-columns:1fr 1fr}.student-result-identity{align-items:flex-start}.large-student-avatar{width:52px;height:52px}.student-score-summary{grid-template-columns:repeat(3,1fr);display:grid}.student-score-summary>div{min-width:0;padding:11px 5px}.score-breakdown-grid{grid-template-columns:1fr}.score-breakdown-grid>div{border-right:none}.score-comparison-row{grid-template-columns:1fr}.score-comparison-row>div{border-bottom:1px solid #e2e8f0;border-right:none}.override-form-grid{grid-template-columns:1fr}.submission-meta-row{flex-direction:column;gap:6px}}.teacher-login-page{background:radial-gradient(circle at top,#4f46e524,#0000 42%),#f8fafc;justify-content:center;align-items:center;min-height:100vh;padding:25px;display:flex}.teacher-login-card{background:#fff;border:1px solid #e2e8f0;border-radius:20px;width:100%;max-width:440px;padding:40px;box-shadow:0 20px 60px #0f172a1a}.teacher-login-logo{color:#fff;background:#4f46e5;border-radius:15px;justify-content:center;align-items:center;width:60px;height:60px;margin-bottom:24px;font-size:19px;font-weight:900;display:flex}.teacher-login-card h1{color:#172033;letter-spacing:-1px;margin:0 0 9px;font-size:32px}.teacher-login-description{color:#64748b;margin:0 0 26px;line-height:1.7}.teacher-login-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;margin-bottom:18px;padding:12px 14px;font-size:14px}.teacher-login-form{flex-direction:column;gap:18px;display:flex}.teacher-login-group label{color:#334155;margin-bottom:8px;font-size:13px;font-weight:800;display:block}.teacher-login-group input{color:#172033;background:#fff;border:1px solid #dbe2ea;border-radius:9px;outline:none;width:100%;padding:12px 13px;font-size:15px}.teacher-login-group input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f11a}.teacher-login-button{color:#fff;background:#4f46e5;border:none;border-radius:9px;min-height:47px;margin-top:4px;font-size:14px;font-weight:800}.teacher-login-button:hover{background:#4338ca}.teacher-login-home-button{color:#64748b;background:0 0;border:none;margin:22px auto 0;font-weight:700;display:block}.teacher-navbar-actions{align-items:center;gap:9px;display:flex}.teacher-logout-button{color:#dc2626;background:#fef2f2;border:1px solid #fecaca;border-radius:9px;min-height:43px;padding:0 16px;font-weight:800}.teacher-logout-button:hover{background:#fee2e2}@media (width<=550px){.teacher-login-card{padding:30px 22px}.teacher-login-card h1{font-size:28px}.teacher-navbar-actions{gap:5px}.teacher-logout-button{padding:0 10px;font-size:12px}}.results-header-actions{align-items:center;gap:12px;display:flex}.export-excel-button{color:#fff;cursor:pointer;white-space:nowrap;background:#16a34a;border:none;border-radius:8px;padding:12px 22px;font-size:15px;font-weight:600;transition:all .25s}.export-excel-button:hover{background:#15803d;transform:translateY(-1px)}.export-excel-button:active{transform:scale(.98)}@media (width<=768px){.results-header-actions{flex-direction:column;align-items:stretch;width:100%}.export-excel-button{width:100%}}.exam-header-right{justify-content:flex-end;align-items:center;gap:16px;display:flex}.warning-box{color:#856404;background:#fff3cd;border:1px solid #ffeeba;border-radius:8px;padding:10px 18px;font-weight:700}.download-test-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;width:50%;margin-top:20px;margin-right:20px;padding:13px 20px;font-size:16px;font-weight:1000;transition:all .2s}.download-test-button:hover{background:#1d4ed8}.download-test-button:disabled{opacity:.6;cursor:not-allowed}.success-action-buttons{justify-content:flex-start;align-items:center;gap:12px;width:100%;margin-top:20px;display:flex}.success-action-buttons button{width:auto;margin:0}.internet-status-banner{z-index:99999;border-radius:8px;flex-direction:column;gap:4px;max-width:360px;padding:12px 18px;font-size:14px;display:flex;position:fixed;top:70px;right:20px;box-shadow:0 4px 15px #00000040}.internet-status-banner.offline{color:#fff;background:#b91c1c}.internet-status-banner.online{color:#fff;background:#15803d}.internet-status-banner span{opacity:.95}.system-check-page{color:#0f172a;background:#f8fafc;min-height:100vh}.system-check-navbar{background:#fff;border-bottom:1px solid #e2e8f0;align-items:center;height:72px;padding:0 40px;display:flex}.system-check-brand{align-items:center;gap:12px;display:flex}.system-check-brand-icon{color:#fff;background:#2563eb;border-radius:9px;justify-content:center;align-items:center;width:38px;height:38px;font-family:monospace;font-size:15px;font-weight:700;display:flex}.system-check-brand-text{flex-direction:column;display:flex}.system-check-brand-text strong{color:#0f172a;font-size:15px}.system-check-brand-text span{color:#64748b;margin-top:2px;font-size:11px}.system-check-container{box-sizing:border-box;width:100%;max-width:760px;margin:0 auto;padding:55px 24px 60px}.system-check-heading{text-align:center;margin-bottom:32px}.system-check-eyebrow{color:#2563eb;letter-spacing:.8px;text-transform:uppercase;margin-bottom:10px;font-size:12px;font-weight:700;display:inline-block}.system-check-heading h1{color:#0f172a;margin:0;font-size:32px;font-weight:700;line-height:1.2}.system-check-heading p{color:#64748b;max-width:520px;margin:10px auto 0;font-size:14px;line-height:1.6}.system-check-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:100%;overflow:hidden;box-shadow:0 4px 12px #0f172a0a}.system-check-progress{margin:0;padding:22px 22px 18px}.progress-header{color:#64748b;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:13px;display:flex}.progress-header span:last-child{color:#334155;font-weight:600}.progress-track{background:#e2e8f0;border-radius:999px;width:100%;height:7px;overflow:hidden}.progress-fill{background:#2563eb;border-radius:999px;height:100%;transition:width .3s}.system-check-list{width:100%}.system-check-item{box-sizing:border-box;border-top:1px solid #f1f5f9;align-items:center;gap:15px;padding:18px 22px;display:flex}.system-check-item:last-child{border-bottom:none}.system-check-icon{border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;font-size:16px;font-weight:700;display:flex}.system-check-item.passed .system-check-icon{color:#16a34a;background:#ecfdf3}.system-check-item.failed .system-check-icon{color:#dc2626;background:#fef2f2}.system-check-item.checking .system-check-icon{color:#2563eb;background:#eff6ff;animation:1.2s ease-in-out infinite check-pulse}@keyframes check-pulse{0%,to{opacity:1}50%{opacity:.45}}.system-check-content{flex-direction:column;gap:4px;min-width:0;display:flex}.system-check-content strong{color:#1e293b;font-size:14px;font-weight:600}.system-check-content span{color:#64748b;font-size:12px;line-height:1.4}.system-check-item.passed .system-check-content span{color:#64748b}.system-check-item.failed .system-check-content span{color:#dc2626}.system-check-success{box-sizing:border-box;color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;align-items:center;gap:14px;width:calc(100% - 44px);margin:20px 22px;padding:14px 16px;display:flex}.success-content{margin-top:-20px}.success-icon{color:#16a34a;background:#dcfce7;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:22px;font-weight:700;display:flex}.system-check-success>div:last-child{flex-direction:column;flex:1;justify-content:center;gap:3px;min-width:0;display:flex}.system-check-success strong{color:#166534;font-size:14px;font-weight:700;line-height:1.3;display:block}.system-check-success span{color:#4b7c5b;font-size:12px;line-height:1.4;display:block}.system-check-error{box-sizing:border-box;color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;align-items:center;gap:12px;width:calc(100% - 44px);margin:20px 22px;padding:14px 16px;display:flex}.error-icon{color:#dc2626;background:#fee2e2;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-weight:700;display:flex}.system-check-error>div:last-child{flex-direction:column;gap:3px;display:flex}.system-check-error strong{color:#991b1b;font-size:14px}.system-check-error span{color:#7f1d1d;font-size:12px}.system-check-actions{justify-content:flex-end;align-items:center;gap:10px;margin-top:4px;padding:0 22px;display:flex}.system-check-actions button{cursor:pointer;border-radius:8px;min-width:140px;height:44px;padding:0 20px;font-size:14px;font-weight:600;transition:background .2s,border-color .2s,transform .15s,opacity .2s}.system-check-actions button:hover:not(:disabled){transform:translateY(-1px)}.system-check-actions button:disabled{opacity:.5;cursor:not-allowed;transform:none}.system-check-retry{color:#334155;background:#fff;border:1px solid #cbd5e1}.system-check-retry:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.system-check-start{color:#fff;background:#2563eb;border:1px solid #2563eb}.system-check-start:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.button-spinner{vertical-align:-2px;border:2px solid #2563eb40;border-top-color:#2563eb;border-radius:50%;width:14px;height:14px;margin-right:7px;animation:.7s linear infinite button-spin;display:inline-block}@keyframes button-spin{to{transform:rotate(360deg)}}.system-check-footer{color:#94a3b8;text-align:center;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:20px 22px 14px;font-size:11px;display:flex}@media (width<=600px){.system-check-navbar{padding:0 18px}.system-check-container{padding:35px 16px 45px}.system-check-heading h1{font-size:27px}.system-check-heading p{font-size:13px}.system-check-progress{padding:18px 16px 16px}.system-check-item{padding:16px}.system-check-success,.system-check-error{width:calc(100% - 32px);margin-left:16px;margin-right:16px}.system-check-actions{flex-direction:column-reverse;padding:0 16px}.system-check-actions button{width:100%}.system-check-footer{padding-left:16px;padding-right:16px}}.student-result-actions{grid-template-columns:repeat(2,minmax(130px,1fr));gap:8px;display:grid}.student-result-actions button{box-sizing:border-box;white-space:nowrap;width:100%;min-width:130px}.delete-attempt-button{color:#dc2626;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:7px;padding:8px 12px;font-size:12px;font-weight:600;transition:all .2s}.delete-attempt-button:hover:not(:disabled){background:#fef2f2;border-color:#fca5a5}.delete-attempt-button:disabled{opacity:.6;cursor:not-allowed}.edit-test-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:8px;min-height:40px;padding:0 14px;font-size:15px;font-weight:800;transition:all .2s}.edit-test-button:hover{background:#f8fafc;border-color:#94a3b8}.edit-test-modal-overlay{z-index:1000;background:#0f172a73;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.edit-test-modal{background:#fff;border:1px solid #e2e8f0;border-radius:14px;width:100%;max-width:480px;overflow:hidden;box-shadow:0 20px 50px #0f172a2e}.edit-test-modal-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:flex-start;padding:22px 22px 18px;display:flex}.edit-test-modal-header span{color:#2563eb;letter-spacing:.7px;text-transform:uppercase;font-size:11px;font-weight:700}.edit-test-modal-header h2{color:#0f172a;margin:5px 0 0;font-size:20px;font-weight:700}.edit-test-modal-close{color:#64748b;cursor:pointer;background:#f8fafc;border:none;border-radius:7px;justify-content:center;align-items:center;width:32px;height:32px;font-size:22px;display:flex}.edit-test-modal-close:hover{color:#0f172a;background:#f1f5f9}.edit-test-modal-body{padding:22px}.edit-test-modal-body label{color:#334155;margin-bottom:8px;font-size:13px;font-weight:600;display:block}.edit-test-modal-body input{box-sizing:border-box;color:#0f172a;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;height:44px;padding:0 13px;font-size:14px;transition:all .2s}.edit-test-modal-body input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.edit-test-modal-body p{color:#64748b;margin:10px 0 0;font-size:12px;line-height:1.5}.edit-test-modal-actions{border-top:1px solid #f1f5f9;justify-content:flex-end;gap:10px;padding:16px 22px 20px;display:flex}.edit-test-cancel-button,.edit-test-save-button{cursor:pointer;border-radius:8px;min-width:110px;height:40px;padding:0 16px;font-size:13px;font-weight:600;transition:all .2s}.edit-test-cancel-button{color:#334155;background:#fff;border:1px solid #cbd5e1}.edit-test-cancel-button:hover:not(:disabled){background:#f8fafc}.edit-test-save-button{color:#fff;background:#2563eb;border:1px solid #2563eb}.edit-test-save-button:hover:not(:disabled){background:#1d4ed8}.edit-test-cancel-button:disabled,.edit-test-save-button:disabled{opacity:.5;cursor:not-allowed}@media (width<=600px){.edit-test-modal{max-width:100%}.edit-test-modal-actions{flex-direction:column-reverse}.edit-test-cancel-button,.edit-test-save-button{width:100%}}.test-card-danger-actions{border-top:1px solid #f1f5f9;justify-content:flex-end;margin-top:12px;padding-top:12px;display:flex}.delete-test-button{color:#dc2626;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:7px 10px;font-size:12px;font-weight:600;transition:all .2s}.delete-test-button:hover{color:#b91c1c;background:#fef2f2}.delete-test-modal-overlay{z-index:1100;background:#0f172a80;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.delete-test-modal{text-align:center;background:#fff;border:1px solid #fecaca;border-radius:14px;width:100%;max-width:450px;padding:28px;box-shadow:0 20px 50px #0f172a33}.delete-test-icon{color:#dc2626;background:#fef2f2;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;margin:0 auto 16px;font-size:24px;font-weight:700;display:flex}.delete-test-content h2{color:#0f172a;margin:0 0 10px;font-size:21px}.delete-test-content p{color:#475569;margin:0 auto 10px;font-size:13px;line-height:1.6}.delete-test-warning{background:#fef2f2;border-radius:8px;padding:10px 12px;color:#991b1b!important;font-size:12px!important}.delete-test-modal-actions{justify-content:flex-end;gap:10px;margin-top:22px;display:flex}.delete-test-cancel-button,.delete-test-confirm-button{cursor:pointer;border-radius:8px;min-width:120px;height:40px;padding:0 18px;font-size:13px;font-weight:600;transition:all .2s}.delete-test-cancel-button{color:#334155;background:#fff;border:1px solid #cbd5e1}.delete-test-cancel-button:hover:not(:disabled){background:#f8fafc}.delete-test-confirm-button{color:#fff;background:#dc2626;border:1px solid #dc2626}.delete-test-confirm-button:hover:not(:disabled){background:#b91c1c}.delete-test-cancel-button:disabled,.delete-test-confirm-button:disabled{opacity:.5;cursor:not-allowed}@media (width<=600px){.delete-test-modal{padding:22px}.delete-test-modal-actions{flex-direction:column-reverse}.delete-test-cancel-button,.delete-test-confirm-button{width:100%}}.submitted-code-section{background:#0f172a;border:1px solid #dbe3ef;border-radius:10px;margin:20px 22px;overflow:hidden}.submitted-code-header{background:#f8fafc;border-bottom:1px solid #dbe3ef;justify-content:space-between;align-items:center;min-height:48px;padding:0 14px;display:flex}.submitted-code-header>div{align-items:center;gap:10px;display:flex}.submitted-code-label{color:#334155;font-size:13px;font-weight:700}.submitted-code-language{color:#475569;background:#e2e8f0;border-radius:5px;padding:3px 7px;font-size:10px;font-weight:600}.copy-code-button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:6px 11px;font-size:11px;font-weight:600;transition:all .2s}.copy-code-button:hover{background:#f1f5f9;transform:translateY(-1px)}.copy-code-button:active{transform:scale(.96)}.copy-code-button.code-copied{color:#15803d;background:#dcfce7;border-color:#86efac}.submitted-code{color:#e2e8f0;white-space:pre;tab-size:4;max-height:420px;margin:0;padding:18px;font-family:Fira Code,Cascadia Code,Consolas,monospace;font-size:13px;line-height:1.6;overflow:auto}.submitted-code code{font-family:inherit}.test-cases-section{border-top:1px solid #e2e8f0;margin-top:28px;padding-top:24px}.test-cases-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.test-cases-header h3{color:#0f172a;margin:0;font-size:15px;font-weight:700}.test-cases-header p{color:#64748b;margin:4px 0 0;font-size:12px}.test-case-count{color:#2563eb;background:#eff6ff;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:700}.test-case-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-bottom:14px;padding:16px}.test-case-card-header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.test-case-card-header strong{color:#334155;font-size:13px}.remove-test-case-button{color:#dc2626;cursor:pointer;background:0 0;border:none;font-size:12px;font-weight:600}.remove-test-case-button:hover{color:#b91c1c}.test-case-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}.add-test-case-button{color:#2563eb;cursor:pointer;background:#eff6ff;border:1px dashed #93c5fd;border-radius:8px;height:40px;padding:0 15px;font-size:13px;font-weight:600;transition:all .2s}.add-test-case-button:hover:not(:disabled){background:#dbeafe;border-color:#60a5fa}.add-test-case-button:disabled{opacity:.55;cursor:not-allowed}@media (width<=700px){.test-case-grid{grid-template-columns:1fr}.test-cases-header{align-items:flex-start;gap:10px}}.coding-actions{align-items:center;gap:10px;display:flex}.run-code-button{cursor:pointer;border:none;border-radius:6px;padding:10px 18px;font-weight:600}.run-code-button:disabled{opacity:.6;cursor:not-allowed}.run-result-panel{box-sizing:border-box;background:#f8f9fa;border:1px solid #ddd;border-radius:8px;max-height:34vh;margin-top:12px;padding:14px;overflow-y:auto}.run-result-header{z-index:2;background:#f8f9fa;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:8px;display:flex;position:sticky;top:0}.run-status{font-weight:700}.run-status.success{color:#198754}.run-status.failed{color:#dc3545}.run-summary{flex-wrap:wrap;gap:25px;margin-bottom:10px;display:flex}.test-case-results{flex-direction:column;gap:8px;display:flex}.test-case-result{background:#fff;border-radius:5px;align-items:center;gap:10px;padding:8px 10px;display:flex}.compile-error-box{background:#fff3f3;border:1px solid #dc3545;border-radius:6px;margin-top:10px;padding:12px;overflow:hidden}.compile-error-box pre{white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box;max-height:220px;margin-top:8px;margin-bottom:0;font-size:13px;line-height:1.45;overflow:auto}.submission-success-page{justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.submission-success-card{box-sizing:border-box;background:#fff;border-radius:20px;flex-direction:column;width:100%;max-width:720px;min-height:480px;padding:28px;display:flex;box-shadow:0 10px 35px #00000014}.submission-success-topbar{justify-content:flex-end;align-items:center;width:100%;display:flex}.submission-success-check-btn{color:#4f46e5;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:8px 12px;font-size:14px;font-weight:600;transition:background .2s,opacity .2s}.submission-success-check-btn:hover:not(:disabled){background:#f3f4ff}.submission-success-check-btn:disabled{cursor:default;opacity:.65}.submission-success-content{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:30px 20px;display:flex}.submission-success-icon{color:#16a34a;background:#ecfdf3;border-radius:50%;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:22px;font-size:34px;font-weight:700;display:flex}.submission-success-content h1{color:#111827;margin:0;font-size:30px;font-weight:700}.submission-success-content p{color:#6b7280;margin:12px 0 24px;font-size:15px;line-height:1.6}.submission-success-status{border-radius:999px;padding:10px 18px;font-size:14px;font-weight:600}.submission-success-status-pending{color:#c2410c;background:#fff7ed}.submission-success-status-completed{color:#15803d;background:#ecfdf3}.submission-success-status-failed{color:#dc2626;background:#fef2f2}.submission-success-actions{border-top:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;width:100%;padding-top:24px;display:flex}.submission-success-download-btn,.submission-success-home-btn{cursor:pointer;box-sizing:border-box;border-radius:10px;min-width:180px;padding:12px 20px;font-size:14px;font-weight:600;transition:background .2s,opacity .2s,transform .2s}.submission-success-download-btn{color:#fff;background:#4f46e5;border:none}.submission-success-download-btn:hover:not(:disabled){background:#4338ca;transform:translateY(-1px)}.submission-success-download-btn:disabled{color:#6b7280;cursor:not-allowed;background:#d1d5db;transform:none}.submission-success-home-btn{color:#374151;background:#fff;border:1px solid #d1d5db}.submission-success-home-btn:hover{background:#f9fafb}@media (width<=600px){.submission-success-page{padding:16px}.submission-success-card{min-height:500px;padding:20px}.submission-success-content{padding:24px 10px}.submission-success-content h1{font-size:24px}.submission-success-actions{flex-direction:column}.submission-success-download-btn,.submission-success-home-btn{width:100%}}.crb-ai-pdf-settings{box-sizing:border-box;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;width:100%;margin-top:24px;padding:22px 24px}.crb-ai-pdf-header{margin-bottom:18px}.crb-ai-pdf-header h3{color:#1e293b;margin:0;font-size:16px;font-weight:700}.crb-ai-pdf-header p{color:#64748b;margin:6px 0 0;font-size:13px;line-height:1.5}.crb-ai-pdf-options{flex-direction:column;gap:12px;display:flex}.crb-ai-pdf-option{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:10px;justify-content:space-between;align-items:center;gap:24px;padding:16px 18px;display:flex}.crb-ai-pdf-option-info{flex-direction:column;gap:4px;min-width:0;display:flex}.crb-ai-pdf-option-info strong{color:#1e293b;font-size:14px;font-weight:600}.crb-ai-pdf-option-info span{color:#64748b;font-size:12px;line-height:1.4}.crb-ai-pdf-radio-group{flex-shrink:0;align-items:center;gap:18px;display:flex}.crb-ai-pdf-radio{color:#475569;cursor:pointer;white-space:nowrap;align-items:center;gap:6px;font-size:13px;font-weight:500;display:inline-flex}.crb-ai-pdf-radio input{cursor:pointer;accent-color:#4f46e5;width:16px;height:16px;margin:0}.crb-ai-pdf-radio:hover span{color:#1e293b}@media (width<=650px){.crb-ai-pdf-settings{padding:18px}.crb-ai-pdf-option{flex-direction:column;align-items:flex-start;gap:14px}.crb-ai-pdf-radio-group{width:100%}}.student-run-testcases{max-height:360px;margin-top:14px;padding-right:4px;overflow:hidden auto}.student-run-testcases::-webkit-scrollbar{width:7px}.student-run-testcases::-webkit-scrollbar-track{background:0 0}.student-run-testcases::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}.student-run-testcases::-webkit-scrollbar-thumb:hover{background:#94a3b8}.student-run-testcase{background:#fff;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:8px;overflow:hidden}.student-run-testcase-passed{border-left:4px solid #198754}.student-run-testcase-failed{border-left:4px solid #dc3545}.student-run-testcase-header{cursor:pointer;text-align:left;background:#fff;border:none;justify-content:space-between;align-items:center;width:100%;padding:11px 13px;transition:background .15s;display:flex}.student-run-testcase-header:hover{background:#f8fafc}.student-run-testcase-title{align-items:center;gap:10px;min-width:0;display:flex}.student-run-testcase-title strong{color:#1e293b;font-size:13px}.student-run-testcase-icon{border-radius:50%;justify-content:center;align-items:center;width:22px;min-width:22px;height:22px;font-size:12px;font-weight:700;display:inline-flex}.student-run-testcase-icon-passed{color:#15803d;background:#dcfce7}.student-run-testcase-icon-failed{color:#b91c1c;background:#fee2e2}.student-run-testcase-header-right{align-items:center;gap:12px;display:flex}.student-run-testcase-status{border-radius:999px;padding:4px 8px;font-size:11px;font-weight:700}.student-run-testcase-status-passed{color:#166534;background:#dcfce7}.student-run-testcase-status-failed{color:#991b1b;background:#fee2e2}.student-run-testcase-arrow{color:#64748b;font-size:10px}.student-run-testcase-details{background:#f8fafc;padding:0 12px 12px}.student-run-output-block{background:#fff;border:1px solid #e2e8f0;border-radius:6px;margin-top:10px;overflow:hidden}.student-run-output-label{color:#475569;text-transform:uppercase;letter-spacing:.3px;background:#f1f5f9;border-bottom:1px solid #e2e8f0;padding:7px 10px;font-size:11px;font-weight:700}.student-run-output-block pre{white-space:pre-wrap;word-break:break-word;color:#1e293b;max-height:130px;margin:0;padding:10px;font-family:Fira Code,Consolas,monospace;font-size:12px;line-height:1.5;overflow:auto}.student-run-output-actual-passed{border-left:3px solid #198754}.student-run-output-actual-failed{border-left:3px solid #dc3545}.student-run-output-block pre::-webkit-scrollbar{width:6px;height:6px}.student-run-output-block pre::-webkit-scrollbar-track{background:#f8fafc}.student-run-output-block pre::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:8px}.ai-reevaluate-test-button{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;padding:12px 22px;font-size:15px;font-weight:600;transition:opacity .2s,transform .2s}.ai-reevaluate-test-button:hover:not(:disabled){transform:translateY(-1px)}.ai-reevaluate-test-button:disabled{opacity:.6;cursor:not-allowed}.ai-reevaluate-student-button{cursor:pointer;border:none;border-radius:6px;padding:8px 12px;font-weight:600;transition:opacity .2s,transform .2s}.ai-reevaluate-student-button:hover:not(:disabled){transform:translateY(-1px)}.ai-reevaluate-student-button:disabled{opacity:.6;cursor:not-allowed}.result-ai-status-badge{white-space:nowrap;border-radius:999px;align-items:center;padding:5px 10px;font-size:11px;font-weight:700;display:inline-flex}.result-ai-status-pending{color:#92400e;background:#fef3c7}.result-ai-status-evaluating{color:#1d4ed8;background:#dbeafe}.result-ai-status-evaluated{color:#15803d;background:#dcfce7}.result-ai-status-failed{color:#b91c1c;background:#fee2e2}.results-pagination{border-top:1px solid #e5e7eb;justify-content:center;align-items:center;gap:18px;padding:18px;display:flex}.results-pagination-button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:7px;padding:8px 14px;font-weight:600}.results-pagination-button:disabled{opacity:.5;cursor:not-allowed}.results-pagination-info{color:#64748b;font-size:14px;font-weight:600}.results-header-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.teacher-dashboard-pagination{justify-content:center;align-items:center;gap:14px;margin-top:28px;padding:10px 0 20px;display:flex}.teacher-dashboard-pagination-pages{align-items:center;gap:8px;display:flex}.teacher-dashboard-pagination-button,.teacher-dashboard-pagination-page{color:#343b5c;cursor:pointer;background:#fff;border:1px solid #d9def0;border-radius:8px;min-width:42px;height:40px;padding:0 14px;font-size:14px;font-weight:600;transition:background .2s,color .2s,border-color .2s,transform .2s}.teacher-dashboard-pagination-button:hover:not(:disabled),.teacher-dashboard-pagination-page:hover:not(.teacher-dashboard-pagination-page-active){color:#5146e5;border-color:#5146e5;transform:translateY(-1px)}.teacher-dashboard-pagination-button:disabled{opacity:.45;cursor:not-allowed;transform:none}.teacher-dashboard-pagination-page-active{color:#fff;cursor:default;background:#5146e5;border-color:#5146e5}.instructions-overlay{z-index:1000;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0f172aa6;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.instructions-modal{background:#fff;border:1px solid #e5e7eb;border-radius:22px;width:100%;max-width:650px;max-height:90vh;padding:35px;animation:.25s instructionsModalAppear;overflow-y:auto;box-shadow:0 25px 70px #0f172a40}@keyframes instructionsModalAppear{0%{opacity:0;transform:translateY(15px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.instructions-icon{color:#ea580c;background:#fff7ed;border-radius:16px;justify-content:center;align-items:center;width:58px;height:58px;margin:0 auto 15px;font-size:27px;display:flex}.instructions-modal h2{text-align:center;color:#172033;margin:0;font-size:28px}.instructions-subtitle{text-align:center;color:#64748b;margin:8px 0 25px;line-height:1.5}.instructions-list{flex-direction:column;gap:12px;display:flex}.instruction-item{border-radius:12px;align-items:flex-start;gap:12px;padding:14px 15px;line-height:1.5;display:flex}.instruction-item span{flex-shrink:0;font-size:17px;font-weight:800}.instruction-item p{color:#334155;margin:0;font-size:14px}.instruction-item.warning{background:#fff7ed;border:1px solid #fed7aa}.instruction-item.warning span{color:#ea580c}.instruction-item.success{background:#f0fdf4;border:1px solid #bbf7d0}.instruction-item.success span{color:#16a34a}.instructions-continue-button{color:#fff;cursor:pointer;background:#4f46e5;border:none;border-radius:10px;width:100%;margin-top:25px;padding:14px 20px;font-size:15px;font-weight:700;transition:background .2s,opacity .2s,transform .2s}.instructions-continue-button:hover:not(:disabled){background:#4338ca;transform:translateY(-1px)}.instructions-continue-button:disabled{cursor:not-allowed;opacity:.55}@media (width<=600px){.instructions-modal{border-radius:18px;padding:25px 20px}.instructions-modal h2{font-size:24px}.instruction-item{padding:12px}}.run-result-header-actions{align-items:center;gap:12px;display:flex}.run-result-toggle-button{color:#475569;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:5px 8px;font-size:13px;font-weight:600}.run-result-toggle-button:hover{color:#1e293b;background:#f1f5f9}.student-result-problem-section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;margin-top:20px;padding:18px}.student-result-problem-heading{color:#1e293b;margin-bottom:10px;font-size:15px;font-weight:700}.student-result-problem-text{color:#475569;white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.7}.student-result-download-button{color:#fff;cursor:pointer;background:#2563eb;border:none;border-radius:8px;margin-top:18px;padding:11px 18px;font-size:14px;font-weight:600;transition:background .2s,transform .2s}.student-result-download-button:hover:not(:disabled){background:#1d4ed8;transform:translateY(-1px)}.student-result-download-button:disabled{opacity:.65;cursor:not-allowed}.student-result-evaluation-header{justify-content:space-between;align-items:center;gap:16px;display:flex}.student-result-evaluation-header h2{margin:0}.download-results-zip-button{color:#fff;cursor:pointer;background:#0f766e;border:none;border-radius:8px;padding:12px 22px;font-size:15px;font-weight:600;transition:background .2s}.download-results-zip-button:hover:not(:disabled){background:#115e59}.download-results-zip-button:disabled{opacity:.6;cursor:not-allowed}.exam-modal-overlay{z-index:99999;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000a6;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.exam-modal{text-align:center;background:#fff;border-radius:18px;width:500px;max-width:92%;padding:35px;animation:.25s popup;box-shadow:0 15px 40px #00000040}@keyframes popup{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.exam-modal-icon{font-size:60px}.exam-modal h2{color:#d32f2f;margin-top:15px}.exam-modal-reason{margin:20px 0;font-size:17px}.exam-warning-info{background:#f5f5f5;border-radius:12px;justify-content:space-around;margin:25px 0;padding:18px;display:flex}.exam-warning-info div{flex-direction:column;gap:8px;display:flex}.exam-warning-info span{color:#d32f2f;font-size:20px;font-weight:700}.exam-modal-note{color:#555;margin-bottom:25px}.exam-continue-btn{color:#fff;cursor:pointer;background:#1976d2;border:none;border-radius:10px;padding:14px 28px;font-size:16px;font-weight:700;transition:all .25s}.exam-continue-btn:hover{background:#1565c0}
