*{box-sizing:border-box;padding:0;margin:0}body,html{max-width:100vw;overflow-x:hidden}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5;color:#333}a{color:inherit;text-decoration:none}.container{display:flex;min-height:100vh}.sidebar{width:250px;background:#fff;border-right:1px solid #e0e0e0;padding:2rem 1.5rem;display:flex;flex-direction:column;gap:2rem}.logo{gap:1rem;margin-bottom:2rem}.logo,.logo-img{display:flex;align-items:center}.logo-img{width:40px;height:40px;justify-content:center;overflow:hidden;border-radius:8px}.logo-img img{width:100%;height:100%;object-fit:contain}.logo-text{overflow:hidden;font-size:.875rem;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.logo-text-container{display:flex;min-width:0;flex:1 1;flex-direction:column}.logo-subtext{overflow:hidden;color:#666;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.nav{display:flex;flex-direction:column;gap:.5rem}.nav-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:8px;cursor:pointer;transition:all .2s;font-size:.9rem}.nav-item:hover{background:#f5f5f5}.nav-item.active{background:rgba(122,0,223,.1);color:#7a00df}.logout{width:100%;margin-top:auto;display:flex;align-items:center;gap:.5rem;padding:0;border:0;background:transparent;color:#666;font:inherit;font-size:.9rem;cursor:pointer}.main{position:relative;flex:1 1;padding:2rem}.navigation-overlay{position:absolute;z-index:10;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.72);cursor:progress}.navigation-spinner{width:2.5rem;height:2.5rem;border:4px solid #e7d2f8;border-top-color:#7a00df;border-radius:50%;animation:navigation-spin .8s linear infinite}@keyframes navigation-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.navigation-spinner{animation:none}}.header{justify-content:space-between;margin-bottom:2rem}.header,.header h1{display:flex;align-items:center}.header h1{font-size:1.5rem;font-weight:600;gap:.5rem}.header h1 svg{width:24px;height:24px;color:#7a00df}.btn{padding:.5rem 1.25rem;border:none;border-radius:6px;cursor:pointer;font-size:.875rem;font-weight:500;transition:all .2s}.btn-primary{background:#7a00df;color:#fff}.btn-primary:hover{background:#6600b8}.filters{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;margin-bottom:2rem;background:#fff;padding:1.5rem;border-radius:8px}.select{padding:.5rem;border:1px solid #e0e0e0;border-radius:6px;font-size:.875rem;background:#fff;cursor:pointer;transition:border-color .2s}.select:focus{outline:none;border-color:#7a00df}input.select{cursor:text}input.select::placeholder{color:#9ca3af}input[type=date].select{cursor:pointer;color:#333}input[type=date].select::-webkit-calendar-picker-indicator{cursor:pointer}.table-container{background:#fff;border-radius:8px;overflow:hidden}.table{width:100%;border-collapse:collapse}.table thead{background:#f9fafb;border-bottom:1px solid #e0e0e0}.table th{text-align:left;padding:1rem;font-size:.875rem;font-weight:600;color:#666}.table td{padding:.5rem 1rem;font-size:.875rem;border-bottom:1px solid #f0f0f0}.table tbody tr:hover{background:#f9fafb}.actions{display:flex;gap:.25rem;justify-content:flex-end}.icon-btn{background:none;border:none;cursor:pointer;padding:.5rem;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;transition:all .2s;color:#9ca3af}.icon-btn:hover{background:#f3f4f6;color:#6b7280}.status-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:capitalize}.status-dot{width:8px;height:8px;border-radius:50%;animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.pagination-container{background:#fff;border-radius:8px;margin-top:1rem;padding:1rem 1.5rem;display:flex;justify-content:space-between;align-items:center}.pagination-info{font-size:.875rem;color:#666}.pagination{display:flex;gap:.5rem}.page-btn{padding:.5rem .75rem;border:1px solid #e0e0e0;background:#fff;border-radius:6px;cursor:pointer;font-size:.875rem;transition:all .2s}.page-btn:hover:not(:disabled){background:#f5f5f5}.page-btn.active{background:rgba(122,0,223,.1);color:#7a00df;border-color:#7a00df}.page-btn:disabled{opacity:.5;cursor:not-allowed}.empty-state{background:#fff;border-radius:8px;padding:3rem 2rem;text-align:center}.empty-state p{color:#666;margin-bottom:.5rem}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal-container,.modal-content{background:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04)}.modal-lg{max-width:1000px}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e0e0e0}.modal-title{font-size:1.25rem;font-weight:600;margin:0;color:#333}.modal-close{background:none;border:none;font-size:2rem;line-height:1;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;transition:all .2s}.modal-close:hover{background:#f5f5f5;color:#333}.modal-body{padding:1.5rem;overflow-y:auto;flex:1 1}.modal-footer{display:flex;gap:.75rem;justify-content:flex-end;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e0e0e0}.form-group{margin-bottom:1.5rem}.form-label{display:block;margin-bottom:.5rem;font-size:.875rem;font-weight:500;color:#333}.form-input{width:100%;padding:.625rem .75rem;border:1px solid #e0e0e0;border-radius:6px;font-size:.875rem;transition:border-color .2s}.form-input:focus{outline:none;border-color:#7a00df}textarea.form-input{resize:vertical;font-family:inherit}.char-count{display:block;margin-top:.25rem;font-size:.75rem;color:#666}.image-preview{max-height:150px;max-width:100%;margin-bottom:1rem;border-radius:6px;display:block}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:1rem;gap:1rem}.btn-secondary{background:#f5f5f5;color:#333;border:1px solid #e0e0e0}.btn-secondary:hover{background:#e0e0e0}.image-upload-container{margin-top:.5rem}.image-input-hidden{display:none}.image-upload-label{display:block;border:2px dashed #e0e0e0;border-radius:8px;padding:2rem;text-align:center;cursor:pointer;transition:all .2s;background:#fafafa}.image-upload-label:hover{border-color:#7a00df;background:#f5f0ff}.image-upload-content{display:flex;flex-direction:column;align-items:center;gap:.5rem}.image-upload-content svg{color:#9ca3af}.image-upload-text{font-size:.875rem;font-weight:500;color:#333;margin:0}.image-upload-hint{font-size:.75rem;color:#666;margin:0}.image-preview-wrapper{position:relative;border-radius:8px;overflow:hidden;border:1px solid #e0e0e0}.image-preview-large{width:100%;height:auto;max-height:300px;object-fit:contain;display:block;background:#f5f5f5}.image-remove-btn{position:absolute;top:.5rem;right:.5rem;background:rgba(0,0,0,.7);color:white;border:none;padding:.5rem 1rem;border-radius:6px;font-size:.875rem;cursor:pointer;transition:background .2s}.image-remove-btn:hover{background:rgba(0,0,0,.9)}.confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:10000;animation:fadeIn .2s ease-out}.confirm-dialog{background:white;border-radius:12px;padding:2rem;max-width:400px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.3);animation:slideUp .3s ease-out}.confirm-dialog h3{margin:0 0 1rem;font-size:1.25rem;color:#1a1a1a}.confirm-dialog p{margin:0 0 1.5rem;color:#666;line-height:1.5}.confirm-actions{display:flex;gap:.75rem;justify-content:flex-end}.btn-danger{background:#dc2626;color:white}.btn-danger:hover{background:#b91c1c}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.student-list{max-height:200px;overflow-y:auto;border:1px solid #e5e7eb;border-radius:6px;margin-bottom:1rem}.student-option{padding:.75rem;cursor:pointer;border-bottom:1px solid #f3f4f6;transition:background-color .2s}.student-option:hover{background-color:#f9fafb}.student-option.selected{background-color:#dbeafe;color:#1e40af}.student-option:last-child{border-bottom:none}.selected-students{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.student-tag{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;background-color:#3b82f6;color:white;border-radius:6px;font-size:.875rem}.student-tag button{background:none;border:none;color:white;font-size:1.25rem;cursor:pointer;padding:0;line-height:1;margin-left:.25rem}.student-tag button:hover{opacity:.8}.radio-group{display:flex;gap:1.5rem}.radio-label{display:flex;align-items:center;gap:.5rem;font-weight:400}.radio-label,.radio-label input[type=radio]{cursor:pointer}.modal-question-subtitle{font-weight:600;margin-bottom:.5rem;color:#374151;font-size:.875rem}.baidata-modal-select-container{background:#f9fafb;padding:.75rem;border-radius:.375rem}.baidata-modal-select-container label{margin:0;font-weight:500;white-space:nowrap;font-size:.875rem}.modal-question-answers{display:flex;flex-direction:column;gap:.5rem}.modal-question-answer-row{display:flex;align-items:center;gap:.75rem}.modal-question-answer-text{background:#f3f4f6;border:1px solid #e5e7eb;border-radius:.375rem}.modal-question-answer-text input{border:none;background:transparent;outline:none;padding:0}.modal-question-answer-image-label{margin:0;font-weight:600;min-width:30px}.modal-question-image{min-height:200px;border:2px dashed #d1d5db;display:flex;align-items:center;justify-content:center;background:#f9fafb}.modal-question-answer-image-background{text-align:center;color:#6b7280}.modal-question-counter{display:flex;align-items:center;gap:.5rem}.modal-question-counter-numbers{font-weight:600;font-size:.875rem}.page-ellipsis{padding:.5rem .75rem;color:#6b7280}.modal-question-save{cursor:pointer;transition:all .2s}.modal-question-save:hover{opacity:.9}.room-link-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.4rem .65rem;border:1px solid #7a00df;border-radius:6px;color:#7a00df;font-size:.75rem;font-weight:600;white-space:nowrap;transition:background-color .2s,color .2s}.room-link-btn:hover{background:#7a00df;color:#fff}.exam-view-btn{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}.exam-back-btn{margin-bottom:1rem;border:0;background:transparent;color:#7a00df;font-weight:600;cursor:pointer}.exam-summary{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:.75rem;gap:.75rem;margin-bottom:1rem}.exam-summary>div{display:flex;flex-direction:column;gap:.25rem;padding:.85rem;border-radius:8px;background:#f9fafb}.exam-summary span{color:#6b7280;font-size:.7rem;text-transform:uppercase}.exam-questions{display:grid;grid-gap:1rem;gap:1rem}.exam-question{padding:1rem;border:1px solid #e5e7eb;border-left-width:4px;border-radius:8px}.exam-question.correct{border-left-color:#16a34a}.exam-question.incorrect{border-left-color:#dc2626}.exam-question-header{display:flex;align-items:flex-start;gap:.65rem;margin-bottom:.85rem}.exam-question-header h4{flex:1 1;font-size:.9rem;line-height:1.45}.exam-question-number{display:grid;flex:0 0 1.6rem;height:1.6rem;place-items:center;border-radius:50%;background:#f3e8ff;color:#7a00df;font-size:.75rem;font-weight:700}.exam-result{padding:.2rem .5rem;border-radius:999px;font-size:.7rem;font-weight:700}.exam-result.correct{color:#15803d;background:#dcfce7}.exam-result.incorrect{color:#b91c1c;background:#fee2e2}.exam-answers{display:grid;grid-gap:.4rem;gap:.4rem}.exam-answer{display:flex;justify-content:space-between;gap:1rem;padding:.55rem .7rem;border:1px solid #e5e7eb;border-radius:6px;font-size:.82rem}.exam-answer.selected{background:#fff7ed;border-color:#fb923c}.exam-answer.correct-answer{background:#f0fdf4;border-color:#4ade80}.exam-answer-labels{display:flex;gap:.35rem}.exam-answer-labels small{white-space:nowrap;font-weight:700}.exam-text-answer{display:grid;grid-template-columns:auto 1fr;grid-gap:.35rem .75rem;gap:.35rem .75rem;font-size:.82rem}.exam-text-answer span{color:#6b7280}.exam-flags{display:flex;gap:.5rem;margin-top:.75rem}.exam-flags span{padding:.2rem .5rem;border-radius:999px;background:#fef3c7;color:#92400e;font-size:.7rem;font-weight:600}.exam-explanation{margin-top:.75rem;color:#4b5563;font-size:.82rem}.exam-explanation p{margin-top:.5rem;line-height:1.5}@media (max-width:700px){.exam-summary{grid-template-columns:1fr}}.btn-success{background:#15803d;color:#fff}.btn-success:hover{background:#166534}.header-actions,.header-page-actions{display:flex;align-items:center;gap:.65rem}.notifications{position:relative}.notifications-trigger{position:relative;display:grid;width:40px;height:40px;place-items:center;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#6b7280;cursor:pointer;transition:color .2s,border-color .2s,background-color .2s,box-shadow .2s}.notifications-trigger.active,.notifications-trigger:hover{color:#7a00df;border-color:#d8b4fe;background:#faf5ff;box-shadow:0 4px 14px rgba(122,0,223,.1)}.notifications-trigger svg{width:20px;height:20px}.notifications-badge{position:absolute;top:-6px;right:-6px;display:grid;min-width:19px;height:19px;padding:0 4px;place-items:center;border:2px solid #f5f5f5;border-radius:999px;background:#7a00df;color:#fff;font-size:.62rem;font-weight:800;line-height:1}.notifications-panel{position:absolute;z-index:500;top:calc(100% + 12px);right:0;width:370px;max-width:calc(100vw - 2rem);overflow:hidden;border:1px solid #e5e7eb;border-radius:14px;background:#fff;box-shadow:0 20px 50px rgba(31,41,55,.18),0 6px 18px rgba(122,0,223,.08);animation:notificationPanelIn .18s ease-out;transform-origin:top right}.notifications-panel-header{display:flex;justify-content:space-between;align-items:flex-start;padding:1rem 1.1rem .85rem;border-bottom:1px solid #f0f0f0}.notifications-panel-header h2{margin:0;color:#1f2937;font-size:1rem}.notifications-panel-header p{margin:.2rem 0 0;color:#9ca3af;font-size:.72rem}.notifications-panel-header>span{display:grid;min-width:24px;height:24px;padding:0 6px;place-items:center;border-radius:999px;background:#f3e8ff;color:#7a00df;font-size:.7rem;font-weight:800}.notifications-list{max-height:390px;overflow-y:auto}.notification-item{position:relative;display:flex;align-items:flex-start;gap:.8rem;padding:.9rem 1rem;border-bottom:1px solid #f3f4f6;transition:background-color .2s}.notification-item:last-child{border-bottom:0}.notification-item:hover{background:#fafafa}.notification-item.urgent{background:#fff8f8}.notification-item.urgent:hover{background:#fff1f2}.notification-icon{display:grid;flex:0 0 36px;height:36px;place-items:center;border-radius:9px}.notification-icon svg{width:18px;height:18px}.notification-icon.exam{color:#b45309;background:#fef3c7}.notification-icon.challenge{color:#7a00df;background:#f3e8ff}.notification-icon.provider{color:#2563eb;background:#dbeafe}.notification-icon.question{color:#4b5563;background:#f3f4f6}.notification-copy{display:flex;min-width:0;flex:1 1;flex-direction:column;gap:.2rem}.notification-copy strong{color:#374151;font-size:.82rem}.notification-copy>span{color:#6b7280;font-size:.75rem;line-height:1.4}.notification-arrow{flex:0 0 auto;margin-top:10px;color:#d1d5db}.notification-item:hover .notification-arrow{color:#7a00df;transform:translateX(2px)}.notifications-empty{display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;gap:.65rem;padding:1.5rem;color:#9ca3af;font-size:.8rem;text-align:center}.notifications-empty>svg{width:28px;height:28px;color:#d1d5db}.notifications-loader{width:22px;height:22px;border:2px solid #e9d5ff;border-top-color:#7a00df;border-radius:50%;animation:notificationSpin .7s linear infinite}.notifications-footer{padding:.6rem 1rem;border-top:1px solid #f3f4f6;background:#fafafa;color:#9ca3af;font-size:.65rem;text-align:center}@keyframes notificationPanelIn{0%{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes notificationSpin{to{transform:rotate(1turn)}}@media (max-width:700px){.header{align-items:flex-start}.header-actions{flex-wrap:wrap;justify-content:flex-end}.notifications-panel{position:fixed;top:72px;right:1rem;left:1rem;width:auto;max-width:none}}.sidebar .logo{gap:.75rem}.sidebar .logo-img,.sidebar .notifications{flex:0 0 auto}.sidebar .logo-text-container{display:flex;min-width:0;flex:1 1;flex-direction:column}.sidebar .notifications{margin-left:auto}.sidebar .notifications-trigger{width:36px;height:36px}.sidebar .notifications-panel{top:0;right:auto;left:calc(100% + 14px);transform-origin:top left}@media (max-width:700px){.sidebar .notifications-panel{position:fixed;top:72px;right:1rem;left:1rem;width:auto;max-width:none}}