* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #f5f5f5; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; color: #333; padding: 15px; }
.main-content { display: none; }
.main-content.show { display: block; }
.page-container { max-width: 700px; margin: 0 auto; }

/* PWA INSTALL BANNER - ALWAYS VISIBLE */
.install-banner {
    background: linear-gradient(135deg, #0056a8, #003d7a);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.install-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.install-icon {
    width: 24px;
    height: 24px;
    stroke: #28a745;
    flex-shrink: 0;
}
.install-text {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.install-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.install-btn:hover {
    background: #34c759;
    transform: scale(1.05);
}

/* HEADER */
.page-header {
    background: #0056a8;
    color: #fff;
    padding: 25px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}
.header-logos { display: flex; justify-content: center; align-items: center; }
.header-logo-main { width: 100px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.3); }

.page-header h3 { font-size: 14px; margin: 15px 0 3px; font-weight: 500; letter-spacing: 1px; }
.page-header .tagline { font-size: 11px; color: rgba(255,255,255,0.7); font-weight: 300; }
.header-divider { width: 50px; height: 3px; background: #ffc107; margin: 15px auto; border-radius: 2px; }
.page-header h1 { font-size: 22px; margin-bottom: 5px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; }
.page-header .subtitle { font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 300; letter-spacing: 0.5px; }

/* PARTNERS */
.partners-section { background: #fff; border: 2px solid #0056a8; border-top: none; padding: 15px; }
.partners-label { text-align: center; font-size: 10px; color: #0056a8; font-weight: 600; letter-spacing: 2px; margin-bottom: 10px; text-transform: uppercase; }
.partners-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.partner-logo-card { text-align: center; }
.partner-logo-img { width: 60px; height: 60px; background: #f8f9fa; border: 2px solid #dee2e6; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 5px; overflow: hidden; position: relative; }
.partner-logo-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; padding: 4px; display: none; }
.logo-placeholder-box { display: flex; width: 100%; height: 100%; background: linear-gradient(135deg, #e8f1fa, #f0f4f8); align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #0056a8; letter-spacing: 0.5px; text-transform: uppercase; }
.partner-name { font-size: 9px; font-weight: 700; color: #0056a8; display: block; max-width: 80px; }

/* PHOTO FRAME */
.photo-frame-section { background: #fff; border: 2px solid #0056a8; border-top: none; padding: 12px; }
.photo-inner { background: linear-gradient(135deg, #e8eef5, #f0f4f8); border: 3px solid #0056a8; border-radius: 6px; min-height: 150px; max-height: 250px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.photo-image { max-width: 100%; max-height: 250px; width: auto; height: auto; object-fit: contain; display: none; }
.photo-placeholder { text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.photo-icon { width: 48px; height: 48px; stroke: #0056a8; opacity: 0.4; margin-bottom: 8px; }
.photo-placeholder-text { font-size: 12px; font-weight: 700; color: #0056a8; }
.photo-placeholder-hint { font-size: 9px; color: #666; margin-top: 5px; }
.photo-caption { background: #0056a8; color: #fff; text-align: center; font-size: 11px; font-weight: 500; padding: 8px; border-radius: 4px; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.caption-icon { width: 16px; height: 16px; stroke: #fff; }

/* CONTROLS */
.controls-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 10px 0; }
.control-btn { background: #0056a8; color: #fff; border: none; padding: 10px 5px; border-radius: 6px; font-size: 11px; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s; }
.control-btn:hover { background: #0056a8; filter: brightness(1.15); }
.control-btn:disabled { opacity: 0.7; cursor: not-allowed; }
.control-btn.draft-btn { background: #ffc107; color: #000; }
.control-btn.update-btn { background: #28a745; color: #fff; }
.control-btn.update-btn:hover { filter: brightness(1.15); }
.btn-icon { width: 18px; height: 18px; stroke: currentColor; }
.btn-icon.spinning { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* STATUS BAR */
.status-bar { background: #fff; border: 2px solid #0056a8; border-radius: 8px; padding: 12px 15px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.status-item { display: flex; align-items: center; gap: 8px; }
.status-indicator { width: 10px; height: 10px; border-radius: 50%; }
.status-indicator.online { background: #28a745; }
.status-indicator.offline { background: #dc3545; }
.status-text { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.status-label { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }
.draft-count, .pending-count { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.draft-count { background: #ffc107; color: #000; }
.pending-count { background: #0056a8; color: #fff; }

/* FORM CARD */
.form-card { background: #fff; border: 3px solid #0056a8; border-radius: 12px; margin-bottom: 10px; }
.form-content { padding: 25px; }
.progress-bar { background: #e9ecef; height: 6px; border-radius: 3px; overflow: hidden; margin-bottom: 8px; }
.progress-fill { background: #0056a8; height: 100%; transition: width 0.3s; }
.progress-text { text-align: center; font-size: 12px; font-weight: 600; color: #0056a8; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

/* SECTIONS */
.form-section { display: none; }
.form-section.active { display: block; }
.section-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #0056a8; }
.section-icon { width: 40px; height: 40px; background: #0056a8; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.section-icon svg { width: 22px; height: 22px; stroke: #fff; }
.section-title { font-size: 18px; font-weight: 600; color: #0056a8; margin-bottom: 3px; text-transform: uppercase; letter-spacing: 1px; }
.section-description { font-size: 12px; color: #666; font-weight: 300; }

/* INTRO CARD */
.intro-card { background: #f8fafc; border: 2px solid #e0e7ef; border-radius: 10px; padding: 25px; }
.intro-icon-large { text-align: center; margin-bottom: 15px; }
.intro-icon-large svg { width: 50px; height: 50px; stroke: #0056a8; }
.intro-heading { text-align: center; font-size: 20px; color: #0056a8; margin-bottom: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.intro-paragraph { font-size: 13px; line-height: 1.7; color: #444; margin-bottom: 12px; text-align: justify; }
.intro-paragraph strong { color: #0056a8; }
.intro-features { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.intro-feature { display: flex; gap: 12px; background: #fff; border-left: 4px solid #0056a8; padding: 12px; border-radius: 0 8px 8px 0; align-items: flex-start; }
.feature-icon { width: 36px; height: 36px; background: #e8f1fa; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-icon svg { width: 20px; height: 20px; stroke: #0056a8; }
.feature-title { font-size: 13px; font-weight: 600; color: #0056a8; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.5px; }
.feature-desc { font-size: 11px; color: #666; }
.intro-instructions { background: #fff8e1; border: 2px solid #ffc107; border-radius: 8px; padding: 12px 15px; font-size: 12px; line-height: 1.6; display: flex; gap: 10px; align-items: flex-start; }
.instructions-icon { width: 20px; height: 20px; stroke: #856404; flex-shrink: 0; margin-top: 2px; }
.required { color: #dc3545; font-weight: 700; }

/* FORM ELEMENTS */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: #333; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-input, .form-select { width: 100%; padding: 10px 12px; border: 2px solid #ccc; border-radius: 6px; font-size: 14px; background: #fff; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; }
.form-input:focus, .form-select:focus { outline: none; border-color: #0056a8; box-shadow: 0 0 0 3px rgba(0,64,128,0.1); }
.form-input[readonly] { background: #e9ecef; color: #495057; cursor: not-allowed; }
.form-select:disabled { background: #e9ecef; opacity: 0.6; }
.form-input.error { border-color: #dc3545; background: #fff5f5; }
.field-error { display: none; font-size: 11px; color: #dc3545; margin-top: 4px; }
.field-error.show { display: block; }
.cascade-count { font-size: 10px; color: #0056a8; margin-top: 3px; font-style: italic; }

/* VALIDATION NOTE */
.validation-note { background: #fff3cd; border: 2px solid #ffc107; border-radius: 8px; padding: 12px 15px; font-size: 12px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.note-icon { width: 20px; height: 20px; stroke: #856404; flex-shrink: 0; }

/* ITN RECEIVED BLOCK */
.itn-received-block { background: #f8f9fa; border: 2px solid #0056a8; border-radius: 10px; margin-bottom: 20px; overflow: hidden; }
.itn-received-header { background: #0056a8; color: #fff; padding: 12px 15px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px; }
.itn-received-content { padding: 15px; }
.block-icon { width: 20px; height: 20px; stroke: #fff; }

/* CHECKBOX STYLES */
.checkbox-group { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 15px; background: #fff; border: 2px solid #dee2e6; border-radius: 8px; transition: all 0.2s; }
.checkbox-label:hover { border-color: #0056a8; background: #f8f9fa; }
.checkbox-label input[type="checkbox"] { width: 20px; height: 20px; accent-color: #0056a8; cursor: pointer; }
.checkbox-label input[type="checkbox"]:checked + .checkbox-text { color: #0056a8; font-weight: 600; }
.checkbox-text { font-size: 13px; color: #333; }

/* ITN QUANTITY FIELDS */
.itn-quantity-fields { margin-top: 15px; padding: 15px; background: #e8f1fa; border-radius: 8px; }
.itn-quantity-fields .form-group { margin-bottom: 12px; }
.itn-quantity-total { display: flex; align-items: center; gap: 10px; padding: 10px 15px; background: #fff; border: 2px solid #dee2e6; border-radius: 6px; margin-top: 10px; }
.qty-label { font-size: 12px; color: #666; font-weight: 500; }
.qty-value { font-size: 18px; font-weight: 700; color: #0056a8; }
.qty-status { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; }
.qty-status.match { background: #d4edda; color: #155724; }
.qty-status.mismatch { background: #f8d7da; color: #721c24; }

/* CLASS BLOCKS */
.class-block { background: #f8f9fa; border: 2px solid #dee2e6; border-radius: 10px; margin-bottom: 15px; overflow: hidden; }
.class-header { background: #0056a8; color: #fff; padding: 10px 15px; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px; }
.class-icon { width: 18px; height: 18px; stroke: #fff; }
.teacher-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 12px 15px; background: #e8f1fa; border-bottom: 1px solid #d4e4f4; }
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 15px; }
.field-hint { font-size: 10px; color: #666; margin-top: 3px; font-style: italic; }

/* PHONE VALIDATION */
.phone-field { font-family: 'Courier New', monospace; letter-spacing: 1px; }
.phone-field:invalid { border-color: #dc3545; }
.phone-field:valid { border-color: #28a745; }

/* TEAM MEMBER BLOCKS */
.team-member-block { background: #f8f9fa; border: 2px solid #dee2e6; border-radius: 10px; margin-bottom: 15px; overflow: hidden; }
.team-member-block.required-member { border-color: #0056a8; }
.team-member-block.optional-member { border-color: #dee2e6; }
.team-member-header { background: #0056a8; color: #fff; padding: 12px 15px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px; }
.team-member-header.optional { background: #6c757d; }
.team-icon { width: 18px; height: 18px; stroke: #fff; }
.team-member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 15px; }
.team-member-block .form-group { margin-bottom: 0; }
.team-member-block .form-group:last-child { padding: 0 15px 15px; }
.team-member-block .signature-box { margin-top: 8px; }

/* SUMMARY NOTE */
.summary-note { background: #e8f1fa; border: 2px solid #0056a8; border-radius: 8px; padding: 12px 15px; font-size: 12px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

/* DASHBOARD BLOCKS */
.dashboard-block { margin-bottom: 20px; }
.dashboard-header { background: #0056a8; color: #fff; padding: 10px 15px; font-size: 14px; font-weight: 600; border-radius: 8px 8px 0 0; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: 1px; }
.header-icon { width: 18px; height: 18px; stroke: #fff; }
.dashboard-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 15px; background: #f8f9fa; border: 2px solid #dee2e6; border-top: none; border-radius: 0 0 8px 8px; }
.dash-card { background: #fff; border-radius: 8px; padding: 15px 10px; text-align: center; border: 2px solid #dee2e6; }
.dash-card.blue { border-color: #0056a8; }
.dash-card.pink { border-color: #e91e8c; }
.dash-card.green { border-color: #28a745; }
.dash-card.orange { border-color: #fd7e14; background: #fff8f0; }
.dash-card.teal { border-color: #17a2b8; background: #f0fcff; }
.dash-card.large { grid-column: span 3; }
.dash-label { font-size: 11px; font-weight: 500; color: #666; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.5px; }
.dash-value { font-size: 28px; font-weight: 700; color: #0056a8; }
.dash-card.pink .dash-value { color: #e91e8c; }
.dash-card.green .dash-value { color: #28a745; }
.dash-card.orange .dash-value { color: #fd7e14; }
.dash-card.teal .dash-value { color: #17a2b8; }
.dash-value.big { font-size: 36px; }
.remaining-status { font-size: 11px; margin-top: 5px; font-weight: 600; }
.remaining-status.warning { color: #dc3545; }
.remaining-status.success { color: #28a745; }

/* GENDER BAR */
.gender-bar-container { padding: 15px; background: #f8f9fa; border: 2px solid #dee2e6; border-top: none; border-radius: 0 0 8px 8px; }
.gender-bar { height: 25px; border-radius: 12px; overflow: hidden; display: flex; background: #e9ecef; }
.gender-bar-boys { background: #0056a8; height: 100%; transition: width 0.3s; }
.gender-bar-girls { background: #e91e8c; height: 100%; transition: width 0.3s; }
.gender-bar-legend { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; font-weight: 600; }
.legend-boys { color: #0056a8; }
.legend-girls { color: #e91e8c; }

/* TABLE */
.table-wrapper { overflow-x: auto; background: #f8f9fa; border: 2px solid #dee2e6; border-top: none; border-radius: 0 0 8px 8px; padding: 10px; }
.breakdown-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.breakdown-table th, .breakdown-table td { padding: 8px 6px; text-align: center; border: 1px solid #dee2e6; }
.breakdown-table th { background: #0056a8; color: #fff; font-weight: 600; }
.breakdown-table .total-row { background: #e8f1fa; font-weight: 700; }

/* CHARTS */
.charts-grid { display: grid; grid-template-columns: 1fr; gap: 15px; padding: 15px; background: #f8f9fa; border: 2px solid #dee2e6; border-top: none; border-radius: 0 0 8px 8px; }
.chart-box { background: #fff; border: 2px solid #dee2e6; border-radius: 8px; padding: 15px; }
.chart-title { font-size: 14px; font-weight: 600; color: #0056a8; text-align: center; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.chart-box canvas { max-height: 250px; }

/* GPS */
.gps-container { background: #e8f1fa; border: 2px solid #0056a8; border-radius: 8px; padding: 12px; display: flex; justify-content: space-between; align-items: center; }
.gps-status { display: flex; align-items: center; gap: 10px; }
.gps-icon { width: 16px; height: 16px; border-radius: 50%; background: #6c757d; }
.gps-icon.loading { background: #ffc107; animation: pulse 1s infinite; }
.gps-icon.success { background: #28a745; }
.gps-icon.error { background: #dc3545; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.gps-info { font-size: 11px; font-weight: 600; }
.gps-coords { font-size: 10px; color: #0056a8; font-family: monospace; }
.gps-btn { background: #0056a8; color: #fff; border: none; padding: 6px 12px; border-radius: 4px; font-size: 10px; cursor: pointer; display: flex; align-items: center; gap: 5px; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.retry-icon { width: 14px; height: 14px; stroke: #fff; }

/* SIGNATURE */
.signature-box { background: #fff; border: 2px solid #0056a8; border-radius: 8px; padding: 10px; }
.signature-box canvas { width: 100%; height: 120px; border: 1px solid #dee2e6; border-radius: 4px; background: #fff; touch-action: none; }
.sig-clear-btn { margin-top: 8px; background: #dc3545; color: #fff; border: none; padding: 6px 15px; border-radius: 4px; font-size: 11px; cursor: pointer; display: flex; align-items: center; gap: 5px; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.clear-icon { width: 14px; height: 14px; stroke: #fff; }

/* NAVIGATION */
.navigation-buttons { display: flex; gap: 8px; margin-top: 25px; flex-wrap: wrap; }
.btn-nav { flex: 1; padding: 12px 10px; border: 2px solid #0056a8; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; text-align: center; min-width: 80px; display: flex; align-items: center; justify-content: center; gap: 6px; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.nav-icon { width: 16px; height: 16px; stroke: currentColor; }
.btn-back { background: #fff; color: #0056a8; }
.btn-back:hover { background: #0056a8; color: #fff; }
.btn-next { background: #0056a8; color: #fff; }
.btn-next:hover { background: #0056a8; filter: brightness(1.15); }
.btn-next.full-width { flex: 1 1 100%; }
.btn-draft { background: #ffc107; color: #000; border-color: #ffc107; }
.btn-finalize { background: #17a2b8; color: #fff; border-color: #17a2b8; }
.btn-submit { background: #28a745; color: #fff; border-color: #28a745; }
.btn-submit:disabled, .btn-finalize:disabled { opacity: 0.5; cursor: not-allowed; }

/* FOOTER */
.page-footer { background: #0056a8; color: #fff; padding: 20px; text-align: center; border-radius: 0 0 12px 12px; }
.footer-main { font-size: 14px; font-weight: 500; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
.footer-partners { font-size: 10px; color: rgba(255,255,255,0.7); margin-bottom: 8px; letter-spacing: 1px; font-weight: 300; }
.footer-copy { font-size: 10px; color: rgba(255,255,255,0.5); font-weight: 300; }

/* MODALS */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; justify-content: center; align-items: center; z-index: 1000; padding: 20px; }
.modal-overlay.show { display: flex; }
.modal-content { background: #fff; border-radius: 12px; max-width: 500px; width: 100%; max-height: 80vh; overflow-y: auto; border: 3px solid #0056a8; }
.modal-content.small { max-width: 400px; }
.modal-content.large { max-width: 800px; }
.modal-header { background: #0056a8; color: #fff; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.modal-header.yellow { background: #ffc107; color: #000; }
.modal-title { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 1px; }
.modal-icon { width: 18px; height: 18px; stroke: currentColor; }
.modal-close { background: none; border: none; cursor: pointer; padding: 5px; }
.modal-close svg { width: 20px; height: 20px; stroke: currentColor; }
.modal-body { padding: 20px; }
.modal-buttons { display: flex; gap: 10px; margin-top: 15px; }
.modal-btn { flex: 1; padding: 10px; border: none; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.modal-btn.cancel { background: #e9ecef; color: #333; }
.modal-btn.save { background: #ffc107; color: #000; }

/* DRAFT NAME READONLY */
.draft-name-readonly { background: #f8f9fa; color: #333; cursor: not-allowed; font-weight: 600; }
.draft-name-hint { font-size: 10px; color: #666; font-style: italic; margin-top: 5px; margin-bottom: 10px; }

/* DRAFTS */
.draft-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: #f8f9fa; border: 2px solid #dee2e6; border-radius: 8px; margin-bottom: 10px; }
.draft-name { font-size: 13px; font-weight: 700; color: #0056a8; }
.draft-date { font-size: 10px; color: #666; }
.draft-actions { display: flex; gap: 8px; }
.draft-btn { padding: 5px 12px; border: none; border-radius: 4px; font-size: 11px; font-weight: 600; cursor: pointer; font-family: 'Oswald', 'Segoe UI', Arial, sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.draft-btn.load { background: #0056a8; color: #fff; }
.draft-btn.delete { background: #dc3545; color: #fff; }
.no-drafts, .no-data { text-align: center; padding: 40px; color: #666; font-size: 13px; }

/* ANALYSIS */
.analysis-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.stat-card { background: #f8f9fa; border: 2px solid #dee2e6; border-radius: 8px; padding: 15px; text-align: center; }
.stat-card.green { border-color: #28a745; background: #e8f5e9; }
.stat-card .stat-value { font-size: 24px; font-weight: 700; color: #0056a8; }
.stat-card.green .stat-value { color: #28a745; }
.stat-card .stat-label { font-size: 10px; color: #666; margin-top: 5px; }
.analysis-section { margin-bottom: 20px; }
.analysis-section h3 { font-size: 14px; color: #0056a8; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 2px solid #e9ecef; }
.analysis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.analysis-item { background: #f8f9fa; padding: 10px; border-radius: 6px; display: flex; justify-content: space-between; }
.item-label { font-size: 11px; color: #666; }
.item-value { font-size: 12px; font-weight: 700; color: #0056a8; }
.analysis-table { width: 100%; border-collapse: collapse; font-size: 11px; }
.analysis-table th, .analysis-table td { padding: 8px; text-align: left; border: 1px solid #dee2e6; }
.analysis-table th { background: #0056a8; color: #fff; }

/* NOTIFICATION */
.notification { position: fixed; top: 20px; right: 20px; background: #fff; border: 2px solid #0056a8; padding: 15px 20px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); display: none; z-index: 2000; max-width: 350px; font-size: 13px; font-weight: 600; }
.notification.show { display: block; }
.notification.success { border-left: 4px solid #28a745; }
.notification.error { border-left: 4px solid #dc3545; }
.notification.info { border-left: 4px solid #0056a8; }

/* RESPONSIVE */
@media (max-width: 600px) {
    .controls-bar { grid-template-columns: repeat(3, 1fr); }
    .controls-bar .control-btn:nth-child(4),
    .controls-bar .control-btn:nth-child(5) { grid-column: span 1; }
    .class-grid { grid-template-columns: 1fr; }
    .teacher-row { grid-template-columns: 1fr; }
    .team-member-grid { grid-template-columns: 1fr; }
    .dashboard-cards { grid-template-columns: 1fr 1fr; }
    .dash-card.large { grid-column: span 2; }
    .navigation-buttons { flex-direction: column; }
    .btn-nav { width: 100%; }
    .analysis-stats { grid-template-columns: repeat(2, 1fr); }
    .analysis-grid { grid-template-columns: 1fr 1fr; }
    .section-header { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 400px) {
    .controls-bar { grid-template-columns: repeat(2, 1fr); }
    .controls-bar .control-btn:last-child { grid-column: span 2; }
}
