.App{text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{animation:App-logo-spin 20s linear infinite}}.App-header{background-color:#282c34;color:#fff;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;padding:20px}.App-header,.nav{align-items:center;display:flex}.nav{background-color:#333;justify-content:space-between;padding:10px 20px;width:100%}.nav-brand{color:#61dafb;font-size:1.5em}.nav-links{display:flex;gap:15px;list-style:none;margin:0;padding:0}.nav-links li{display:inline}.nav-links a{color:#61dafb;text-decoration:none}.nav-links a:hover{text-decoration:underline}.container{text-align:left}.assign-homeroom .container{display:block!important}@keyframes App-logo-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}body,html{height:100%;margin:0}.App{display:flex;flex-direction:column;min-height:100vh}.App-header,footer{flex-shrink:0}footer{background-color:#333;color:#fff;padding:10px;text-align:center}main{display:flex;flex:1 1;flex-direction:column;justify-content:flex-start;padding:20px}main.assign-homeroom{display:block!important;padding:20px}.groups-home main{display:block}.course-home-container{align-items:center;background-color:#f8f9fa;display:flex;flex-direction:column;justify-content:center;min-height:100vh;padding:20px}.title{color:#343a40;font-size:2.5rem;margin-bottom:20px}.course-buttons{display:flex;gap:15px}.btn{border-radius:5px;font-size:1.1rem;padding:10px 20px;text-decoration:none;transition:background-color .3s ease}.btn-primary{background-color:#007bff;color:#fff}.btn-primary:hover{background-color:#0056b3}.btn-info{background-color:#17a2b8;color:#fff}.btn-info:hover{background-color:#117a8b}.btn-warning{background-color:#ffc107;color:#fff}.btn-warning:hover{background-color:#e0a800}.groups-home{flex-direction:column;margin:20px auto}.groups-home,.groups-home .top-section{align-items:center;display:flex;max-width:1400px;width:100%}.groups-home .top-section{background-color:#f4f4f4;border:1px solid #ddd;border-radius:5px;flex-wrap:wrap;gap:20px;justify-content:space-between;margin-bottom:20px;padding:10px}.groups-home .filter-group input,.groups-home .filter-group select{border:1px solid #ddd;border-radius:5px;font-size:14px;padding:8px}.groups-home .filter-group button{background-color:#007bff;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:14px;padding:8px 12px}.groups-home .filter-group button:hover{background-color:#0056b3}.groups-home .layout{display:flex;flex-direction:column;gap:20px;max-width:1400px;width:100%}.groups-home .students-box{max-height:250px}.groups-home .students-box,.groups-home .students-list{background-color:#f9f9f9;border:1px solid #ddd;border-radius:5px;overflow-y:auto;padding:10px}.groups-home .students-list{flex:1 1;height:80vh;max-width:250px}.groups-home .student-item{background-color:#fff;border:1px solid #ddd;border-radius:5px;box-shadow:0 1px 3px #0000001a;cursor:grab;flex:1 1 150px;font-size:14px;margin-bottom:10px;max-width:200px;padding:10px;text-align:center}.groups-home .student-item:active{cursor:grabbing}.groups-home .student-item:hover{background-color:#f0f8ff;border-color:#007bff}.groups-home .group-list{grid-gap:20px;background-color:#fff;border:1px solid #ddd;border-radius:5px;display:grid;flex:4 1;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));overflow-y:auto;padding:10px}.groups-home .group{background-color:#fff;border:2px solid #ccc;border-radius:5px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;gap:10px;padding:15px}.groups-home .group h3{font-size:18px;font-weight:700;margin-bottom:10px}.groups-home .group-students{grid-gap:10px;background-color:#f9f9f9;border:1px solid #ddd;border-radius:5px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));max-height:250px;overflow-y:auto;padding:5px}.groups-home .group-student{align-items:center;background-color:#fff;border:1px solid #ddd;border-radius:5px;box-shadow:0 1px 2px #0000001a;cursor:default;display:flex;justify-content:space-between;margin-bottom:5px;padding:5px 10px}.groups-home .student-name{flex-grow:1;font-size:12px;margin-right:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.groups-home .group-student:active{cursor:grabbing}.groups-home .group-student:hover{background-color:#f0f8ff;border-color:#007bff}.highlight-drop{background-color:#e6ffe6;border-color:#28a745}.groups-home .remove-student-btn{background-color:#ff4d4d;border:none;border-radius:3px;color:#fff;cursor:pointer;font-size:11px;padding:3px 8px;transition:background-color .3s ease,transform .2s ease}.groups-home .remove-student-btn:hover{background-color:#d93636;transform:scale(1.05)}.groups-home .remove-student-btn:active{background-color:#c32e2e;transform:scale(.95)}@media screen and (max-width:600px){.groups-home .layout{flex-direction:column}.groups-home .group-list{grid-template-columns:1fr}}.groups-home .create-groups-btn{background-color:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:16px;margin:10px 0;padding:10px 20px}.groups-home .create-groups-btn:hover{background-color:#0056b3}.group-count{color:#555;font-size:.9em;font-weight:400;margin-left:5px}.student-item.in-group{background-color:#dff0d8;border-color:#3c763d;color:#3c763d}.student-item.in-group .badge{background-color:#3c763d;border-radius:3px;color:#fff;font-size:12px;font-weight:700;margin-left:10px;padding:2px 5px}.student-item.highlighted{background-color:#d1e7dd;border:1px solid #198754;color:#155724;font-weight:700}.students-box{background-color:#f9f9f9;display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;max-height:200px;overflow-y:auto;width:100%}.students-box,.students-box .student-item{border:1px solid #ddd;border-radius:5px;padding:10px}.students-box .student-item{background-color:#fff;box-shadow:0 1px 3px #0000001a;cursor:pointer;flex:1 1 150px;font-size:14px;max-width:200px;text-align:center}.students-box .student-item:hover{background-color:#f0f8ff;border-color:#007bff}.remove-zone{background-color:#f9f9f9;border:2px dashed #ddd;border-radius:5px;color:#666;margin-bottom:20px;padding:10px;text-align:center;transition:background-color .3s ease}.remove-zone.highlight-drop{background-color:#ffe6e6;border-color:#ff4d4d}.group-container{border-radius:5px;display:flex;flex-direction:column;gap:10px;padding:10px}.group-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:10px}.group-header h3{font-size:16px;margin:0}.remove-group{display:inline-block;margin-left:10px}.remove-group-btn{background-color:#ff4d4d;border:none;border-radius:5px;color:#fff;cursor:pointer;font-size:12px;padding:5px 10px}.remove-group-btn:hover{background-color:#d93636}.confirm-remove{margin-top:5px}.confirm-btn{background-color:#ff4d4d;color:#fff;margin-right:5px}.cancel-btn,.confirm-btn{border:none;border-radius:5px;cursor:pointer;padding:5px 10px}.cancel-btn{background-color:#ddd;color:#000}.cancel-btn:hover{background-color:#bbb}.cte-groups-home{align-items:center;display:flex;flex-direction:column;margin:20px auto;max-width:1400px;width:100%}.cte-group-list{grid-auto-rows:auto;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));max-height:80vh;padding:15px}.cte-group-students{grid-gap:10px;display:grid}.cte-students-box{background-color:#f9f9f9;display:flex;flex:1 1;flex-wrap:wrap;gap:10px;max-height:250px;overflow-y:auto}.cte-student-item,.cte-students-box{border:1px solid #ddd;border-radius:5px;padding:10px}.cte-student-item{background-color:#fff;box-shadow:0 1px 3px #0000001a;cursor:grab;font-size:14px;margin-bottom:10px;text-align:center;transition:background-color .3s ease,border-color .3s ease}.cte-student-item:active{cursor:grabbing}.cte-student-item:hover{background-color:#eaf2ff;border-color:#007bff}.cte-student-item.dragging{opacity:.5}.cte-group{background-color:#fff;border:2px solid #ccc;border-radius:5px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;gap:10px;padding:15px;transition:border-color .3s ease,background-color .3s ease}.cte-group.highlight-drop{background-color:#e6ffe6;border-color:#28a745}.cte-group h3{align-items:center;display:flex;font-size:18px;font-weight:700;justify-content:space-between;margin-bottom:10px}.cte-group-students{background-color:#f9f9f9;border:1px solid #ddd;border-radius:5px;gap:10px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));max-height:250px;overflow-y:auto;padding:5px}.cte-group-students .student-item{box-shadow:0 1px 3px #0000001a;cursor:grab;display:inline-block;flex:0 1 auto;font-size:14px;margin-bottom:10px;max-width:200px;text-align:center}.cte-group-list,.cte-group-students .student-item{background-color:#fff;border:1px solid #ddd;border-radius:5px;padding:10px}.cte-group-list{grid-gap:20px;display:grid;flex:4 1;gap:20px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));max-height:70vh;overflow-y:auto}.cte-group-students .student-item:hover{background-color:#f0f8ff;border-color:#007bff}.cte-group-students .student-item:active{cursor:grabbing}.cte-highlight-drop{background-color:#eaf4e6;border-color:#28a745}.cte-student-item.multi-group{background-color:#fff3cd;border-color:#ffc107}.cte-student-item.multi-group:hover{background-color:#ffecb5;border-color:#ffca2c}@media screen and (max-width:600px){.cte-groups-home{flex-direction:column}.cte-group{grid-template-columns:1fr}}.modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.import-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;max-height:90vh;max-width:800px;overflow-y:auto;width:90%}.modal-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e0e0e0;border-radius:8px 8px 0 0;display:flex;justify-content:space-between;padding:20px}.modal-header h3{color:#333;font-size:1.5rem;margin:0}.close-button{color:#666;font-size:1.5rem;height:30px;width:30px}.close-button:hover{color:#333}.modal-content{padding:20px}.upload-step h4{color:#333;margin-bottom:20px}.drop-zone{background:#fafafa;border:2px dashed #ddd;border-radius:8px;margin-bottom:30px;transition:border-color .3s ease}.drop-zone.has-file,.drop-zone:hover{background:#f0f8ff;border-color:#007bff}.upload-icon{font-size:3rem;margin-bottom:20px}.drop-content p{color:#666;margin:10px 0}.file-input{margin:10px 0}.file-name{color:#333;font-weight:700;margin-bottom:5px}.file-size{color:#666;font-size:.9rem;margin-bottom:15px}.change-file-btn{background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:8px 16px}.change-file-btn:hover{background:#545b62}.format-examples{margin-bottom:30px}.format-examples h5{color:#333;margin-bottom:15px}.format-examples p{color:#666;margin-bottom:15px}.example-container,.example-table{margin-bottom:15px}.example-table{border-collapse:collapse;width:100%}.example-table td,.example-table th{border:1px solid #ddd;padding:8px;text-align:left}.example-table th{background:#f8f9fa;font-weight:700}.format-note{color:#666;font-size:.9rem;font-style:italic}.processing-step{padding:60px 20px;text-align:center}.processing-content h4{color:#333;margin-bottom:15px}.processing-content p{color:#666;margin-bottom:20px}.spinner{border:4px solid #f3f3f3;border-top-color:#007bff;height:40px;margin:0 auto 20px;width:40px}.success-summary{background:#d4edda;border:1px solid #c3e6cb;border-radius:4px;margin-bottom:30px;padding:20px}.success-item{align-items:center;display:flex;margin-bottom:10px}.success-item:last-child{margin-bottom:0}.success-item .icon{font-size:1.2rem;margin-right:10px}.created-groups{margin-bottom:30px}.created-groups h5{color:#333;margin-bottom:15px}.groups-list{background:#f8f9fa;border:1px solid #e9ecef;border-radius:4px;padding:15px}.group-item{border-bottom:1px solid #e9ecef;padding:8px 0}.group-item:last-child{border-bottom:none}.import-warnings{background:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;margin-bottom:30px;padding:20px}.import-warnings h5{color:#856404;margin-bottom:15px}.warning-item{color:#856404;margin-bottom:8px;padding-left:15px;position:relative}.warning-item:before{content:"•";left:0;position:absolute}.next-steps{background:#e7f3ff;border:1px solid #b3d9ff;border-radius:4px;margin-bottom:30px;padding:20px}.next-steps h5{color:#004085;margin-bottom:15px}.next-steps ul{margin:0;padding-left:20px}.next-steps li{color:#004085;margin-bottom:8px}.step-actions{border-top:1px solid #e0e0e0;gap:10px;justify-content:flex-end}.primary-btn{background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;padding:10px 20px}.primary-btn:hover:not(:disabled){background:#0056b3}.primary-btn:disabled{background:#6c757d;cursor:not-allowed}.secondary-btn{background:#6c757d;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;padding:10px 20px}.secondary-btn:hover{background:#545b62}.error-message{background:#f8d7da;border:1px solid #f5c6cb;border-radius:4px;color:#721c24;margin-bottom:20px;padding:15px}.import-btn{background:#28a745!important;border:none!important;border-radius:5px!important;color:#fff!important;cursor:pointer!important;font-size:14px!important;margin-right:10px!important;padding:8px 12px!important}.import-btn:hover:not(:disabled){background:#218838!important}.import-btn:disabled{background:#6c757d!important;cursor:not-allowed!important}@media (max-width:768px){.import-modal{margin:20px;width:95%}.modal-content,.modal-header{padding:15px}.drop-zone{padding:20px}.step-actions{flex-direction:column}.step-actions button{margin-bottom:10px;width:100%}.step-actions button:last-child{margin-bottom:0}}.schedule-container{align-items:center;display:flex;flex-direction:column;margin:20px}.schedule-grid{border-collapse:collapse;margin-top:20px;width:100%}.schedule-grid th{background-color:#e0e0e0}.schedule-grid td.time-slot,.schedule-grid th{border:1px solid #ccc;font-weight:700;padding:10px;text-align:center}.schedule-grid td.time-slot{background-color:#f0f0f0;width:150px}.schedule-grid td.drop-cell{background-color:#f9f9f9;border:1px solid #ccc;min-height:50px;padding:10px;text-align:center;vertical-align:middle}.schedule-grid td.drop-cell:hover{background-color:#e9e9e9}.drop-hover-valid{background-color:#e8f5e9!important;border:2px dashed #4caf50!important}.drop-hover-invalid{background-color:#ffebee!important;border:2px dashed #f44336!important;cursor:not-allowed!important;position:relative}.drop-hover-invalid:after{background-color:#f44336;border-radius:4px;bottom:100%;color:#fff;content:"This group is already assigned to this section period";font-size:12px;left:50%;margin-bottom:5px;opacity:0;padding:5px 10px;position:absolute;transform:translateX(-50%);transition:opacity .2s;white-space:nowrap;z-index:1000}.drop-hover-invalid:hover:after{opacity:1}.group-item{align-items:center;background-color:#d1e7dd;border:1px solid #b5d7c3;border-radius:6px;cursor:pointer;display:flex;flex-direction:column;font-size:14px;font-weight:700;justify-content:center;line-height:1.2;margin:0;min-height:44px;padding:12px 8px;text-align:center;transition:all .2s ease}.group-item:hover{background-color:#c3dfd3;box-shadow:0 2px 4px #0000001a;transform:translateY(-1px)}.group-type-badge{font-size:11px;font-weight:400;margin-top:2px;opacity:.8}.group-item:active{transform:scale(.98)}.available-groups{grid-gap:8px;background-color:#f7f7f7;border:1px solid #ccc;border-radius:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin:20px 0;max-width:100%;padding:12px;width:100%}@media (min-width:768px) and (max-width:1024px){.available-groups{gap:10px;grid-template-columns:repeat(3,1fr)}}@media (min-width:1025px) and (max-width:1366px){.available-groups{gap:12px;grid-template-columns:repeat(3,1fr)}}@media (min-width:1367px){.available-groups{gap:15px;grid-template-columns:repeat(4,1fr)}}@media (max-width:767px){.available-groups{gap:8px;grid-template-columns:repeat(2,1fr);padding:8px}}.available-groups h3{grid-column:1/-1;margin-bottom:8px}.drop-cell{border:1px solid #ccc;min-height:50px;vertical-align:middle}.drop-cell,.trash-zone{padding:10px;text-align:center}.trash-zone{background-color:#f8d7da;border:1px dashed #d9534f;border-radius:4px;color:#d9534f;font-weight:700;margin-top:20px}.trash-hover{background-color:#f1b0b7}.teacher-selection-container{display:flex;flex-wrap:wrap;gap:15px;justify-content:center;margin-top:20px}.teacher-item{align-items:center;background-color:#f7f7f7;border:1px solid #ccc;border-radius:4px;display:flex;padding:10px;text-align:left;width:200px}.teacher-header{background-color:#f0f0f0}.teacher-header,.time-slot{border:1px solid #ddd;font-weight:700;padding:8px;text-align:center}.time-slot{background-color:#e0e0e0}.not-found{margin-top:50px;text-align:center}.not-found h1{color:red;font-size:3rem}.not-found p{font-size:1.5rem;margin:20px 0}.not-found a{color:#007bff;font-size:1.2rem;text-decoration:none}.not-found a:hover{text-decoration:underline}.schedule-import-modal-overlay{align-items:center;background-color:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.schedule-import-modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #00000026;max-height:90vh;max-width:800px;overflow-y:auto;width:90%}.schedule-import-modal-header{align-items:center;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-bottom:1px solid #e5e7eb;border-radius:12px 12px 0 0;color:#fff;display:flex;justify-content:space-between;padding:24px}.schedule-import-modal-header h2{font-size:24px;font-weight:600;margin:0}.close-button{align-items:center;background:none;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:28px;height:32px;justify-content:center;padding:0;transition:background-color .2s;width:32px}.close-button:hover{background-color:#fff3}.schedule-import-modal-content{padding:32px}.import-step h3{color:#1f2937;font-size:20px;font-weight:600;margin-bottom:20px}.format-instructions{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;margin-bottom:24px;padding:20px}.format-instructions h4{color:#374151;font-size:16px;font-weight:600;margin-bottom:12px}.format-example{margin-bottom:20px}.format-example table{background:#fff;border-collapse:collapse;border-radius:6px;overflow:hidden;width:100%}.format-example td,.format-example th{border-bottom:1px solid #e5e7eb;padding:12px;text-align:left}.format-example th{background:#f3f4f6;color:#374151;font-weight:600}.format-example td{color:#1f2937;font-family:Courier New,monospace}.format-tips ul{margin:0;padding-left:20px}.format-tips li{color:#6b7280;line-height:1.5;margin-bottom:8px}.format-tips strong{color:#374151}.drop-zone{background:#f9fafb;border:2px dashed #d1d5db;border-radius:12px;cursor:pointer;margin-bottom:20px;padding:40px;text-align:center;transition:all .3s ease}.drop-zone:hover{background:#f0f1ff;border-color:#6366f1}.drop-zone-content{position:relative}.drop-zone-prompt{align-items:center;display:flex;flex-direction:column;gap:16px}.drop-icon{color:#9ca3af;font-size:48px}.drop-zone-prompt p{color:#6b7280;font-size:16px;margin:0}.file-input{bottom:0;cursor:pointer;left:0;opacity:0;position:absolute;right:0;top:0}.selected-file{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:16px;padding:20px}.file-icon{color:#6366f1;font-size:32px}.file-info{flex:1 1}.file-name{color:#1f2937;font-weight:600;margin-bottom:4px}.file-size{color:#6b7280;font-size:14px}.remove-file{align-items:center;background:#ef4444;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:16px;height:24px;justify-content:center;transition:background-color .2s;width:24px}.remove-file:hover{background:#dc2626}.error-messages{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin-bottom:20px;padding:16px}.error-message{gap:8px;margin-bottom:8px}.error-message:last-child{margin-bottom:0}.step-actions{align-items:center;border-top:1px solid #e5e7eb;display:flex;gap:12px;justify-content:space-between;margin-top:24px;padding-top:20px}.back-button,.finish-button,.import-button,.next-button{border:none;border-radius:8px;cursor:pointer;font-size:16px;font-weight:500;padding:12px 24px;transition:all .2s}.back-button{background:#f3f4f6;color:#374151}.back-button:hover{background:#e5e7eb}.finish-button,.import-button,.next-button{background:linear-gradient(135deg,#6366f1,#8b5cf6);color:#fff}.finish-button:hover,.import-button:hover:not(:disabled),.next-button:hover{box-shadow:0 4px 12px #6366f14d;transform:translateY(-1px)}.import-button:disabled{box-shadow:none;cursor:not-allowed;opacity:.6;transform:none}.spinner{border:2px solid #fff;border-top-color:#0000;display:inline-block;height:16px;margin-right:8px;width:16px}.import-results{background:#f8fafc;border-radius:8px;padding:20px}.results-summary{display:flex;gap:20px;margin-bottom:20px}.success-count{background:#10b981}.error-count,.success-count{border-radius:8px;color:#fff;font-weight:600;padding:12px 20px}.error-count{background:#f59e0b}.created-periods{margin-bottom:20px}.created-periods h4{color:#374151;font-size:16px;font-weight:600;margin-bottom:12px}.periods-list{background:#fff;border-radius:6px;overflow:hidden}.period-item{border-bottom:1px solid #e5e7eb;padding:12px}.period-item:last-child{border-bottom:none}.period-item strong{color:#1f2937;display:block;margin-bottom:4px}.period-details{color:#6b7280;font-size:14px}.period-type{border-radius:12px;font-size:12px;font-weight:600;margin-left:8px;padding:2px 8px}.period-type.homeroom{background-color:#fef3c7;color:#92400e}.period-type.regular{background-color:#dbeafe;color:#1e40af}.import-errors{margin-top:20px}.import-errors h4{color:#dc2626;font-size:16px;font-weight:600;margin-bottom:12px}.error-list{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:12px}.error-item{color:#dc2626;font-size:14px;line-height:1.4;margin-bottom:8px}.error-item:last-child{margin-bottom:0}@media (max-width:768px){.schedule-import-modal{max-height:95vh;width:95%}.schedule-import-modal-content{padding:20px}.format-example{overflow-x:auto}.step-actions{flex-direction:column}.back-button,.finish-button,.import-button,.next-button{text-align:center;width:100%}}.modern-teacher-select{background:#fff;border-radius:8px;box-shadow:0 2px 10px #0000001a;margin:0 auto;max-width:700px;padding:20px}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:12px}.section-header h3{color:#333;font-size:16px;font-weight:600;margin:0}.quick-actions{display:flex;gap:8px}.clear-all-btn,.hide-section-btn,.quick-add-btn{background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:12px;padding:4px 12px;transition:all .2s}.clear-all-btn:hover{background:#fee;border-color:#f44336;color:#f44336}.quick-add-btn:hover{background:#e8f5e9;border-color:#4caf50;color:#4caf50}.hide-section-btn:hover{background:#f5f5f5;border-color:#999}.selected-teachers-section{margin-bottom:24px}.recent-teachers-section{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;margin-bottom:24px;padding:16px}.recent-teachers-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-top:8px}.recent-teacher-card{align-items:center;background:#fff;border:1px solid #ddd;border-radius:4px;cursor:pointer;display:flex;justify-content:space-between;padding:12px;position:relative;transition:all .2s}.recent-teacher-card:hover{background:#f8fff8;border-color:#4caf50}.recent-teacher-card.selected{background:#e8f5e9;border-color:#4caf50}.recent-teacher-card .teacher-name{font-size:14px;font-weight:500}.recent-teacher-card .checkmark{color:#4caf50;font-size:16px;font-weight:700}.modern-teacher-select h2{color:#1a1a1a;font-size:1.5rem;font-weight:600;margin-bottom:1.5rem}.selected-teachers-container{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem;min-height:44px;padding:.5rem}.teacher-tag{align-items:center;background:#e2e8f0;border-radius:9999px;color:#1e293b;display:inline-flex;font-size:.875rem;gap:.5rem;padding:.4rem .8rem}.remove-teacher{align-items:center;background:none;border:none;border-radius:50%;color:#64748b;cursor:pointer;display:flex;justify-content:center;padding:2px;transition:all .2s}.remove-teacher:hover{background:#ef44441a;color:#ef4444}.placeholder-text{color:#94a3b8;font-size:.875rem;padding:.25rem .5rem}.dropdown-container{margin-bottom:1.5rem;position:relative;width:100%}.dropdown-header{align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;padding:.75rem 1rem;transition:all .2s}.dropdown-header:hover{border-color:#94a3b8}.dropdown-icon{transition:transform .2s}.dropdown-icon.open{transform:rotate(180deg)}.dropdown-content{background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;display:flex;flex-direction:column;left:0;margin-top:.5rem;max-height:400px;overflow:hidden;position:absolute;right:0;top:100%;z-index:10}.search-container{border-bottom:1px solid #f1f5f9;padding:.75rem 1rem;position:relative}.search-icon{color:#94a3b8;left:1.5rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.search-input{border:1px solid #e2e8f0;border-radius:6px;font-size:.875rem;padding:.5rem 1rem .5rem 2.5rem;transition:all .2s}.search-input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.teachers-list{max-height:300px;overflow-y:auto}.teacher-option{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:.75rem 1rem;transition:all .15s}.teacher-option:hover{background-color:#f8fafc}.teacher-option.selected{background-color:#eff6ff}.teacher-info{display:flex;flex-direction:column}.teacher-name{color:#1e293b;font-weight:500;margin-bottom:.125rem}.teacher-email{color:#64748b;font-size:.75rem}.checkmark{color:#3b82f6;font-weight:700;margin-left:.5rem}.no-results{color:#94a3b8;font-size:.875rem;padding:1.5rem 1rem;text-align:center}.continue-button{background-color:#3b82f6;border:none;border-radius:8px;color:#fff;cursor:pointer;display:block;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:background-color .2s;width:100%}.continue-button:hover{background-color:#2563eb}.continue-button:disabled{background-color:#cbd5e1;cursor:not-allowed}@media (max-width:640px){.modern-teacher-select{padding:1rem}.dropdown-content{left:1rem;max-height:70vh;position:fixed;right:1rem;top:50%;transform:translateY(-50%)}}.enhanced-teacher-select{background:#f8f9fa;border-radius:12px;box-shadow:0 4px 6px #0000001a;margin:0 auto;max-width:1200px;padding:20px}.teacher-select-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:24px;padding-bottom:16px}.teacher-select-header h3{color:#2c3e50;font-size:1.5rem;font-weight:600;margin:0}.selected-count{background:#007bff;border-radius:20px;color:#fff;font-size:.9rem;font-weight:500;padding:8px 16px}.teacher-filters{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d;margin-bottom:24px;padding:20px}.search-box{margin-bottom:16px}.search-input{border:2px solid #e9ecef;border-radius:8px;font-size:1rem;padding:12px 16px;transition:border-color .3s ease;width:100%}.search-input:focus{border-color:#007bff;box-shadow:0 0 0 3px #007bff1a;outline:none}.filter-chips{display:flex;flex-direction:column;gap:16px}.filter-group{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.filter-group label{color:#495057;font-weight:600;min-width:100px}.filter-chip{background:#fff;border:2px solid #e9ecef;border-radius:20px;cursor:pointer;font-size:.85rem;font-weight:500;padding:6px 12px;transition:all .3s ease}.filter-chip:hover{background:#f8f9ff;border-color:#007bff}.filter-chip.active{background:#007bff;border-color:#007bff;color:#fff}.teacher-groups-container{display:flex;flex-direction:column;gap:20px}.teacher-group{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d;overflow:hidden}.teacher-group-header{align-items:center;background:#f8f9fa;border-bottom:1px solid #e9ecef;cursor:pointer;display:flex;padding:16px 20px;transition:background-color .3s ease}.teacher-group-header:hover{background:#e9ecef}.group-icon{font-size:1.2rem;margin-right:12px}.group-title{color:#2c3e50;flex:1 1;font-size:1.1rem;font-weight:600}.collapse-icon{color:#6c757d;font-size:.8rem;transition:transform .3s ease}.collapse-icon.collapsed{transform:rotate(-90deg)}.teacher-group-content{padding:20px}.teacher-cards-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.teacher-card{background:#f8f9fa;border:2px solid #e9ecef;border-radius:8px;cursor:pointer;padding:16px;position:relative;transition:all .3s ease}.teacher-card:hover{background:#f8f9ff;border-color:#007bff;box-shadow:0 4px 8px #0000001a;transform:translateY(-2px)}.teacher-card.selected{background:#f8fff9;border-color:#28a745;box-shadow:0 4px 8px #28a74533}.teacher-card.selected:after{align-items:center;background:#28a745;border-radius:50%;color:#fff;content:"✓";display:flex;font-size:.8rem;font-weight:700;height:24px;justify-content:center;position:absolute;right:8px;top:8px;width:24px}.teacher-name{color:#2c3e50;font-size:1rem;font-weight:600;margin-bottom:8px}.teacher-department{color:#6b7280;font-size:.875rem;margin-bottom:4px}.teacher-grades{color:#059669;font-size:.8rem;font-style:italic;font-weight:500;margin-bottom:8px}.teacher-departments{color:#6c757d;font-size:.85rem;line-height:1.4;margin-bottom:8px}.teacher-type-badge{border-radius:12px;display:inline-block;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:4px 8px;text-transform:uppercase}.teacher-card .teacher-type-badge{background:#e9ecef;color:#495057}.teacher-card.selected .teacher-type-badge{background:#28a745;color:#fff}.teacher-select-actions{border-top:2px solid #e9ecef;margin-top:24px;padding-top:20px;text-align:center}.proceed-button{background:#28a745;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;min-width:200px;padding:12px 32px;transition:all .3s ease}.proceed-button:hover:not(:disabled){background:#218838;box-shadow:0 4px 8px #28a7454d;transform:translateY(-2px)}.proceed-button:disabled{background:#6c757d;cursor:not-allowed;opacity:.6}@media (max-width:768px){.enhanced-teacher-select{padding:16px}.teacher-select-header{flex-direction:column;gap:12px;text-align:center}.filter-group{align-items:flex-start;flex-direction:column}.filter-group label{margin-bottom:8px;min-width:auto}.teacher-cards-grid{grid-template-columns:1fr}}@media (max-width:480px){.teacher-card{padding:12px}.teacher-name{font-size:.9rem}.proceed-button{min-width:auto;width:100%}}.schedule-tool-container{color:#1a1a1a;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;margin:0 auto;max-width:1000px;padding:2rem}.schedule-header{border-bottom:1px solid #e9ecef;display:flex;justify-content:flex-end;margin-bottom:20px;padding:10px 0}.add-teacher-button{background:#007bff;border:none;border-radius:6px;color:#fff;cursor:pointer;font-weight:500;padding:10px 20px;transition:all .3s ease}.add-teacher-button:hover{background:#0056b3;box-shadow:0 2px 4px #0000001a;transform:translateY(-1px)}.schedule-tool-container h2{color:#1e293b;font-size:1.75rem;font-weight:600;margin-bottom:2rem;text-align:center}.form-group{margin-bottom:1.5rem}.form-group label{color:#334155;display:block;font-weight:500;margin-bottom:.5rem}.form-select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;background-size:1em;border:1px solid #e2e8f0;border-radius:8px;color:#1e293b;font-size:1rem;padding:.75rem 1rem;transition:all .2s;width:100%}.form-select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a;outline:none}.teacher-selection-wrapper{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;margin:2rem 0;padding:2rem}button{border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}button.primary{background-color:#3b82f6;color:#fff}button.primary:hover{background-color:#2563eb}button.secondary{background-color:#e2e8f0;color:#1e293b;margin-left:.75rem}button.secondary:hover{background-color:#cbd5e1}@media (max-width:768px){.schedule-tool-container{padding:1rem}.teacher-selection-wrapper{border-left:none;border-radius:0;border-right:none;margin:1rem -1rem;padding:1rem}}.loading-state{align-items:center;color:#64748b;display:flex;justify-content:center;padding:2rem}.loading-spinner{animation:spin 1s ease-in-out infinite;border:3px solid #3b82f633;border-radius:50%;border-top-color:#3b82f6;height:1.5rem;margin-right:.75rem;width:1.5rem}.error-message{align-items:center;background-color:#fee2e2;color:#b91c1c;display:flex;gap:.75rem;margin:1rem 0;padding:1rem}.error-message svg{flex-shrink:0}.attendance-container{background-color:#f9f9f9;border-radius:8px;font-family:Arial,sans-serif;margin:0 auto;max-width:none;padding:16px;width:100%}.attendance-header{color:#333;font-size:1.8rem;margin-bottom:20px;text-align:center}.section-period-select,.teacher-select{align-items:center;display:flex;gap:10px;margin:10px 0}.section-period-select select,.teacher-select select{border:1px solid #ccc;border-radius:4px;font-size:1rem;padding:8px}.group-container{background-color:#fff;border:1px solid #ddd;border-radius:6px;margin:10px 0;padding:8px}.group-title{color:#555;font-size:1.2rem;font-weight:700;margin-bottom:10px}.student-item{align-items:center;border-bottom:1px solid #f1f1f1;display:flex;justify-content:space-between;padding:4px 0}.student-item label{color:#333;font-size:1rem}.attendance-button{background-color:#4caf50;border:none;border-radius:5px;color:#fff;cursor:pointer;display:inline-block;font-size:1rem;margin-top:20px;padding:10px 20px;transition:background-color .3s ease}.attendance-button:hover{background-color:#45a049}.section-period-item{background-color:#e9ecef;border:1px solid #ddd;border-radius:5px;cursor:pointer;padding:12px;transition:background-color .3s}.section-period-item:hover{background-color:#d1d3d4}.attendance-options{align-items:center;display:flex;gap:6px}.attendance-options label{background-color:#f8f8f8;border:1px solid #ccc;border-radius:50%;color:#333;cursor:pointer;display:inline-block;height:30px;line-height:30px;margin-right:5px;text-align:center;transition:background-color .2s,color .2s;width:30px}.attendance-options label:hover{background-color:#e0f7fa}.attendance-options label.selected{background-color:#4caf50;border-color:#4caf50;color:#fff}.excuse-select{border-radius:4px;padding:5px;width:150px}.comment-input,.excuse-select{border:1px solid #ccc;font-size:14px}.comment-input{border-radius:4px;margin-top:10px;padding:8px;width:400px}.student-row{align-items:center;display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.student-name{flex:1 1;font-size:13px;font-weight:700;min-width:120px}@media (max-width:768px){.student-row{align-items:flex-start;flex-direction:column}.comment-input,.excuse-select{width:100%}}.attendance-container{background:#fff;box-shadow:0 8px 24px #00000014}.attendance-header{font-weight:700;letter-spacing:.2px}.attendance-toolbar{align-items:end;background:#fff;border-bottom:1px solid #eee;display:flex;gap:12px;margin:0 -12px 12px;padding:8px 12px;position:sticky;top:0;z-index:10}.date-picker-container label,.teacher-select label{color:#666;display:block;font-size:12px;margin-bottom:6px}.date-picker,.section-period-select select,.teacher-select select{background:#fff;border:1px solid #d0d7de;border-radius:6px;font-size:14px;padding:8px 10px}.banner{border-radius:8px;font-size:14px;margin:8px 0 16px;padding:10px 12px}.banner-info{background:#eef6ff;border:1px solid #b6daff;color:#084298}.banner-holiday{background:#fff5f5;border:1px solid #ffd6d6;color:#b42318}.loading-container{align-items:center;display:flex;flex-direction:column;gap:10px;padding:20px 0}.spinner{animation:spin 1s linear infinite;border:3px solid #e5e7eb;border-radius:50%;border-top-color:#4caf50;height:28px;width:28px}@keyframes spin{to{transform:rotate(1turn)}}.helper-text{color:#6b7280;font-size:14px}.attendance-button{background-color:#16a34a;border-radius:6px;padding:10px 16px}.attendance-button+.attendance-button{background-color:#374151;margin-left:8px}.group-container{border:1px solid #eef1f4;box-shadow:0 4px 12px #0000000a}.attendance-container.dense .group-container{margin:6px 0;padding:6px}.attendance-container.dense .student-item{padding:2px 0}.attendance-container.dense .student-row{gap:4px;margin-bottom:4px}.attendance-container.dense .attendance-options{gap:4px}.attendance-container.dense .student-name{font-size:12px}.attendance-container.dense .attendance-header{margin-bottom:12px}.students-grid{grid-column-gap:12px;column-gap:12px;display:grid;grid-template-columns:1fr}@media (min-width:1200px){.students-grid{grid-template-columns:1fr 1fr}}.summary-stats{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin:1rem 0}.stat-card{background:#f8f9fa;border:1px solid #dee2e6;padding:1rem}.stat-card.daily-rate{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border-color:#2196f3}.stat-card.period-rate{background:linear-gradient(135deg,#f3e5f5,#e1bee7);border-color:#9c27b0}.stat-value{color:#333;font-size:2rem;font-weight:700}.stat-label{color:#666;font-size:.9rem;font-weight:600;margin-top:.5rem}.stat-subtitle{color:#777;font-size:.8rem;font-style:italic;margin-top:.25rem}.attendance-explanation{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;margin:2rem 0;padding:1.5rem}.attendance-explanation h5{color:#333;margin-bottom:1rem;text-align:center}.explanation-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr;margin-bottom:1rem}.explanation-card{background:#fff;border:1px solid #dee2e6;border-radius:6px;padding:1rem}.explanation-card.daily-explanation{border-left:4px solid #2196f3}.explanation-card.period-explanation{border-left:4px solid #9c27b0}.explanation-card h6{color:#333;font-size:1rem;margin-bottom:.5rem}.explanation-card p{color:#666;font-size:.9rem;margin:.5rem 0}.tardy-note{background:#fff3cd;border:1px solid #ffeaa7;border-radius:4px;color:#856404;font-size:.9rem;margin-top:1rem;padding:.75rem;text-align:center}.report-table{border-collapse:collapse;margin:1rem 0;width:100%}.report-table td,.report-table th{border:1px solid #dee2e6;padding:.75rem;text-align:left}.report-table th{color:#333;font-weight:600}.report-table tbody tr:nth-child(2n),.report-table th{background:#f8f9fa}.report-table tbody tr:hover{background:#e3f2fd}@media (max-width:768px){.explanation-cards,.summary-stats{grid-template-columns:1fr}.stat-card.daily-rate,.stat-card.period-rate{order:-1}}.status-badge{border-radius:4px;font-size:.8rem;font-weight:600;padding:.25rem .5rem;text-transform:uppercase}.status-present{background:#d4edda;color:#155724}.status-absent{background:#f8d7da;color:#721c24}.status-partial{background:#fff3cd;color:#856404}.status-tardy{background:#e2e3e5;color:#383d41}.modern-student-detail{margin:0 auto;max-width:1200px;padding:2rem}.student-detail-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;box-shadow:0 8px 32px #0000001a;color:#fff;display:flex;justify-content:space-between;margin-bottom:2rem;padding:2rem}.student-info{gap:1.5rem}.student-avatar,.student-info{align-items:center;display:flex}.student-avatar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:50%;font-size:2rem;font-weight:700;height:80px;justify-content:center;width:80px}.student-details h2{font-size:2.5rem;font-weight:700;margin:0 0 .5rem}.student-meta{align-items:center;display:flex;gap:1rem}.grade-badge{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:20px;font-weight:600;padding:.5rem 1rem}.date-range{font-size:.9rem;opacity:.9}.action-buttons{display:flex;gap:1rem}.export-btn,.print-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:8px;color:#fff;cursor:pointer;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.export-btn:hover,.print-btn:hover{background:#ffffff4d;transform:translateY(-2px)}.metrics-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.metric-card{background:#fff;border-left:4px solid #e0e0e0;border-radius:12px;box-shadow:0 4px 20px #00000014;padding:1.5rem;transition:all .3s ease}.metric-card:hover{box-shadow:0 8px 30px #0000001f;transform:translateY(-4px)}.metric-card.daily-rate.success{border-left-color:#4caf50}.metric-card.daily-rate.alert{background:linear-gradient(135deg,#fff,#ffebee);border-left-color:#f44336}.metric-card.period-rate{border-left-color:#9c27b0}.metric-card.tardies{border-left-color:#ff9800}.metric-card.absences{border-left-color:#2196f3}.metric-card{align-items:center;display:flex;gap:1rem}.metric-icon{font-size:2.5rem;opacity:.8}.metric-content{flex:1 1}.metric-value{color:#333;font-size:2.5rem;font-weight:700;line-height:1}.metric-label{color:#666;font-size:1rem;font-weight:600;margin:.5rem 0 .25rem}.metric-subtitle{color:#999;font-size:.85rem}.alerts-section{margin-bottom:2rem}.alerts-section h3{color:#333;font-size:1.5rem;margin-bottom:1rem}.alerts-grid{grid-gap:1rem;display:grid;gap:1rem}.alert-card{align-items:center;border-left:4px solid;display:flex;gap:1rem;padding:1rem}.alert-card.error{background:#ffebee;border-left-color:#f44336}.alert-card.warning{background:#fff3e0;border-left-color:#ff9800}.alert-card.info{background:#e3f2fd;border-left-color:#2196f3}.alert-icon{font-size:1.5rem}.alert-title{color:#333;font-weight:600;margin-bottom:.25rem}.alert-description{color:#666;font-size:.9rem}.timeline-section{margin-bottom:2rem}.timeline-section h3{color:#333;font-size:1.5rem;margin-bottom:1rem}.timeline-grid{grid-gap:.5rem;display:grid;gap:.5rem;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));margin-bottom:1rem}.timeline-day{background:#fff;border-left:3px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:.75rem;text-align:center;transition:all .3s ease}.timeline-day:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.timeline-day.present{background:linear-gradient(135deg,#fff,#e8f5e8);border-left-color:#4caf50}.timeline-day.absent{background:linear-gradient(135deg,#fff,#ffebee);border-left-color:#f44336}.timeline-day.partial{background:linear-gradient(135deg,#fff,#fff3e0);border-left-color:#ff9800}.day-date{color:#333;font-size:.85rem;font-weight:600}.day-status{color:#666;font-size:.75rem;font-weight:600;margin:.25rem 0;text-transform:uppercase}.day-details{color:#999;font-size:.7rem}.detailed-table-section{margin-bottom:2rem}.detailed-table-section h3{color:#333;font-size:1.5rem;margin-bottom:1rem}.table-container{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000014;overflow:hidden}.attendance-table{border-collapse:collapse;width:100%}.attendance-table th{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;padding:1rem;text-align:left}.attendance-table td{border-bottom:1px solid #f0f0f0;padding:1rem}.attendance-table tbody tr:hover{background:#f8f9fa}.attendance-table tbody tr:last-child td{border-bottom:none}.section-breakdown-section{margin-bottom:2rem}.section-breakdown-section h3{color:#333;font-size:1.5rem;margin-bottom:1rem}.section-info{display:flex;flex-direction:column}.section-name{color:#333;font-size:.9rem;font-weight:600}.period-name{color:#666;font-size:.8rem;margin-top:.25rem}.time-slot{color:#555;font-family:monospace;font-size:.85rem}.count-cell{font-weight:600;padding:.5rem;text-align:center}.count-cell.present{color:#4caf50}.count-cell.absent{color:#f44336}.count-cell.tardy{color:#ff9800}.count-cell.excused{color:#2196f3}.rate-badge{border-radius:12px;display:inline-block;font-size:.8rem;font-weight:600;min-width:50px;padding:.25rem .75rem;text-align:center}.rate-badge.good{background:#d4edda;color:#155724}.rate-badge.warning{background:#fff3cd;color:#856404}.rate-badge.poor{background:#f8d7da;color:#721c24}.section-breakdown-section .attendance-table th{background:linear-gradient(135deg,#4caf50,#45a049);color:#fff;font-size:.9rem;padding:.75rem}.section-breakdown-section .attendance-table td{padding:.75rem;vertical-align:middle}.section-breakdown-section .attendance-table tbody tr:hover{background:#f0f8ff}@media (max-width:768px){.modern-student-detail{padding:1rem}.student-detail-header{flex-direction:column;gap:1rem;text-align:center}.metrics-grid{grid-template-columns:1fr}.timeline-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr))}.table-container{overflow-x:auto}.section-breakdown-section .attendance-table{font-size:.8rem}.section-breakdown-section .attendance-table td,.section-breakdown-section .attendance-table th{padding:.5rem}}.intervention-dashboard{margin:0 auto;max-width:1200px;padding:20px}.dashboard-header{margin-bottom:30px}.dashboard-header h1{color:#1f2937;font-size:2rem;font-weight:600;margin-bottom:20px}.dashboard-stats{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:20px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px;text-align:center}.stat-number{color:#1f2937;font-size:2.5rem;font-weight:700;margin-bottom:5px}.stat-label{font-size:.875rem}.dashboard-tabs{border-bottom:2px solid #e5e7eb;display:flex;gap:10px;margin-bottom:30px}.tab-button{background:none;border:none;border-bottom:3px solid #0000;color:#6b7280;cursor:pointer;font-size:1rem;font-weight:500;padding:12px 20px;transition:all .2s}.tab-button:hover{background-color:#f9fafb;color:#374151}.tab-button.active{border-bottom-color:#3b82f6;color:#3b82f6}.dashboard-content{min-height:400px}.empty-state{background:#f9fafb;border:2px dashed #d1d5db;border-radius:8px;font-style:italic}.empty-state,.loading-spinner{color:#6b7280;padding:40px;text-align:center}.error-message{background:#fef2f2;border:1px solid #fecaca;border-radius:8px;color:#dc2626;padding:20px;text-align:center}.alerts-list{display:flex;flex-direction:column;gap:15px}.alert-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px;transition:box-shadow .2s}.alert-card:hover{box-shadow:0 4px 6px #0000001a}.alert-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:15px}.alert-title{align-items:center;display:flex;gap:10px}.alert-title h3{color:#1f2937;font-size:1.1rem;margin:0}.priority-badge,.risk-badge,.severity-badge{border-radius:4px;color:#fff;font-size:.75rem;font-weight:600;padding:4px 8px;text-transform:uppercase}.alert-meta{color:#6b7280;font-size:.875rem;text-align:right}.student-name{color:#374151;display:block;font-weight:500;margin-bottom:2px}.trigger-date{display:block}.alert-description{color:#4b5563;line-height:1.5;margin-bottom:15px}.alert-actions{position:relative}.action-btn{background:#3b82f6;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;margin-bottom:8px;margin-right:8px;padding:8px 16px;transition:background-color .2s}.action-btn:hover{background:#2563eb}.action-btn.primary{background:#1f2937}.action-btn.primary:hover{background:#111827}.action-btn.danger{background:#dc2626}.action-btn.danger:hover{background:#b91c1c}.action-menu{background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 10px 15px #0000001a;left:0;min-width:150px;padding:5px;position:absolute;top:100%;z-index:10}.action-menu .action-btn{background:#fff;border:1px solid #0000;color:#374151;display:block;margin:2px 0;text-align:left;width:100%}.action-menu .action-btn:hover{background:#f3f4f6;border-color:#d1d5db}.action-menu .action-btn.danger:hover{background:#fef2f2;color:#dc2626}.cases-list{display:flex;flex-direction:column;gap:15px}.case-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px}.case-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:15px}.case-title{align-items:center;display:flex;gap:10px}.case-title h3{color:#1f2937;font-size:1.1rem;margin:0}.case-meta{color:#6b7280;font-size:.875rem;text-align:right}.case-type{display:block;text-transform:capitalize}.case-description{color:#4b5563;line-height:1.5;margin-bottom:15px}.case-stats{display:flex;flex-wrap:wrap;gap:20px}.stat{display:flex;flex-direction:column;gap:2px}.stat-label{color:#6b7280;font-size:.75rem;font-weight:500}.stat-value{color:#1f2937;font-size:.875rem;font-weight:600}.stat.overdue .stat-value{color:#dc2626}.risk-list{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(350px,1fr))}.risk-profile-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a;padding:20px}.profile-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:15px}.student-info h3{color:#1f2937;font-size:1.1rem;margin:0 0 5px}.grade-level{color:#6b7280;font-size:.875rem}.risk-level{text-align:right}.risk-metrics{margin-bottom:15px}.metric{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:5px 0}.metric:last-child{border-bottom:none}.metric-label{color:#6b7280;font-size:.875rem}.metric-value{color:#1f2937;font-size:.875rem;font-weight:600}.risk-factors h4{color:#1f2937;font-size:.9rem;margin:0 0 10px}.risk-factors ul{margin:0;padding-left:20px}.risk-factors li{color:#4b5563;font-size:.875rem;margin-bottom:3px}@media (max-width:768px){.intervention-dashboard{padding:10px}.dashboard-stats{gap:10px;grid-template-columns:repeat(2,1fr)}.dashboard-tabs{flex-wrap:wrap}.tab-button{font-size:.875rem;padding:10px 15px}.alert-header,.case-header,.profile-header{flex-direction:column;gap:10px}.alert-meta,.case-meta{text-align:left}.risk-list{grid-template-columns:1fr}.case-stats{gap:15px}}@media (max-width:480px){.dashboard-stats{grid-template-columns:1fr}.stat-number{font-size:2rem}.action-menu{background:#f9fafb;border:none;box-shadow:none;margin-top:10px;position:static}}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.container{margin:0 auto;max-width:800px;padding:20px;text-align:center}h1{color:#333;margin-bottom:20px}.feature-links{display:flex;flex-wrap:wrap;gap:15px;justify-content:center;margin-top:20px}.feature-button{background-color:#007bff;border-radius:5px;color:#fff;padding:10px 15px;text-decoration:none;transition:background-color .3s ease}.feature-button:hover{background-color:#0056b3}
/*# sourceMappingURL=main.bf479b79.css.map*/