:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{width:100%;min-height:100vh}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.app{min-height:100vh;display:flex;flex-direction:column;padding:2rem}.header{text-align:center;color:#fff;margin-bottom:2rem}.header h1{font-size:2.5rem;font-weight:700;margin-bottom:.5rem}.header p{font-size:1.1rem;opacity:.9}.main{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}.footer{text-align:center;color:#fff;opacity:.7;padding-top:2rem;font-size:.9rem}.error-banner{background:#fee2e2;border:1px solid #ef4444;color:#b91c1c;padding:1rem 1.5rem;border-radius:8px;margin-bottom:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;max-width:600px;width:100%}.error-banner button{background:transparent;border:1px solid #b91c1c;color:#b91c1c;padding:.25rem .75rem;border-radius:4px;cursor:pointer;font-size:.875rem}.error-banner button:hover{background:#b91c1c;color:#fff}.upload-container{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 20px 25px -5px #0000001a;max-width:500px;width:100%}.drop-zone{border:2px dashed #d1d5db;border-radius:12px;padding:3rem 2rem;text-align:center;transition:all .2s ease;cursor:pointer}.drop-zone:hover,.drop-zone.dragging{border-color:#667eea;background:#f5f3ff}.drop-zone.has-file{border-color:#10b981;background:#ecfdf5}.drop-zone-content{display:flex;flex-direction:column;align-items:center;gap:1rem}.upload-icon{width:48px;height:48px;color:#9ca3af}.drop-zone.has-file .upload-icon{color:#10b981}.drop-text{font-size:1.1rem;color:#374151;font-weight:500}.drop-subtext{color:#9ca3af;font-size:.875rem}.file-info{text-align:center}.file-name{font-weight:600;color:#374151;font-size:1rem}.file-size{color:#6b7280;font-size:.875rem}.file-input{display:none}.file-input-label{color:#667eea;font-weight:500;cursor:pointer;transition:color .2s}.file-input-label:hover{color:#4f46e5;text-decoration:underline}.upload-button{width:100%;margin-top:1.5rem;padding:1rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s,box-shadow .2s;display:flex;align-items:center;justify-content:center;gap:.5rem}.upload-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 20px #667eea4d}.upload-button:disabled{opacity:.7;cursor:not-allowed}.spinner{width:20px;height:20px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .8s linear infinite}.spinner.small{width:16px;height:16px;border-width:2px;border-color:#667eea4d;border-top-color:#667eea}@keyframes spin{to{transform:rotate(360deg)}}.reports-container{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 20px 25px -5px #0000001a;max-width:600px;width:100%}.reports-container h2{color:#374151;font-size:1.5rem;margin-bottom:1.5rem;text-align:center}.reports-list{display:flex;flex-direction:column;gap:1rem}.report-card{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:#f9fafb;border-radius:10px;border:1px solid #e5e7eb;transition:border-color .2s}.report-card.completed{border-color:#10b981;background:#ecfdf5}.report-card.failed{border-color:#ef4444;background:#fef2f2}.report-info{display:flex;align-items:center;gap:1rem}.status-icon{width:24px;height:24px}.status-icon.completed{color:#10b981}.status-icon.failed{color:#ef4444}.student-name{font-weight:600;color:#374151;font-size:1rem}.subject{color:#6b7280;font-size:.875rem}.status-text{font-size:.75rem;margin-top:.25rem}.status-text.processing{color:#667eea}.status-text.completed{color:#10b981}.status-text.failed{color:#ef4444}.download-button{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#10b981;color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;text-decoration:none;transition:background .2s}.download-button:hover{background:#059669}.download-button svg{width:16px;height:16px}.reset-button{margin-top:1.5rem;padding:.75rem 1.5rem;background:transparent;color:#fff;border:2px solid white;border-radius:8px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s,color .2s}.reset-button:hover{background:#fff;color:#667eea}.report-type-selector{margin-bottom:1.5rem}.report-type-selector h3{color:#374151;font-size:1rem;font-weight:600;margin-bottom:.75rem;text-align:center}.report-type-options{display:flex;gap:1rem}.report-type-option{flex:1;padding:1rem;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;transition:all .2s ease;background:#f9fafb}.report-type-option:hover{border-color:#667eea;background:#f5f3ff}.report-type-option.selected{border-color:#667eea;background:#f5f3ff;box-shadow:0 0 0 3px #667eea1a}.report-type-option input{display:none}.option-content{display:flex;align-items:center;gap:.75rem}.option-icon{font-size:1.5rem}.option-title{display:block;font-weight:600;color:#374151;font-size:.9rem}.option-desc{display:block;font-size:.75rem;color:#6b7280;margin-top:.125rem}.format-hint{margin-top:1rem;padding:.75rem;background:#fef3c7;border-radius:8px;font-size:.8rem;color:#92400e;text-align:center}.format-hint strong{font-weight:600}.report-type-badge{display:inline-block;padding:.125rem .5rem;border-radius:4px;font-size:.65rem;font-weight:600;text-transform:uppercase;margin-left:.5rem}.report-type-badge.efficiency-tracker{background:#dbeafe;color:#1e40af}.report-type-badge.gap-analysis{background:#fce7f3;color:#9d174d}.template-download-section{margin-top:1rem;padding:1rem;background:#f0fdf4;border:1px solid #86efac;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.template-download-label{font-size:.875rem;color:#166534;margin:0}.template-download-button{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#22c55e;color:#fff;border:none;border-radius:6px;font-size:.8rem;font-weight:500;text-decoration:none;cursor:pointer;transition:background .2s;white-space:nowrap}.template-download-button:hover{background:#16a34a}.template-download-button svg{flex-shrink:0}
