.container { width: 100%; } /* Header Section */ .header { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); } .headerContent { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; } .titleSection { flex: 1; } .schoolName { font-size: 2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.2; } .meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 0.75rem; } .metaItem { font-size: 0.9375rem; color: var(--text-secondary); display: flex; align-items: center; gap: 0.25rem; } .address { font-size: 1rem; color: var(--text-secondary); margin: 0; } .actions { display: flex; gap: 0.75rem; } .btnAdd, .btnRemove { padding: 0.75rem 1.5rem; font-size: 0.9375rem; font-weight: 500; border: none; border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition); white-space: nowrap; } .btnAdd { background: var(--primary); color: white; } .btnAdd:hover { background: var(--primary-dark); } .btnRemove { background: var(--success); color: white; } .btnRemove:hover { opacity: 0.9; } /* Summary Section */ .summary { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); } .sectionTitle { font-size: 1.5rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--border-light); } .metricsGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; } .metricCard { background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; } .metricLabel { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 0.5rem; font-weight: 500; } .metricValue { font-size: 1.75rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; justify-content: center; gap: 0.5rem; } .metricTrend { font-size: 1.25rem; color: var(--secondary); } /* Charts Section */ .chartsSection { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); } .chartContainer { width: 100%; height: 400px; position: relative; } /* Detailed Metrics */ .detailedMetrics { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); } .metricGroup { margin-bottom: 2rem; } .metricGroup:last-child { margin-bottom: 0; } .metricGroupTitle { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; } .metricTable { display: flex; flex-direction: column; gap: 0.75rem; } .metricRow { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: var(--bg-secondary); border-radius: var(--radius-md); } .metricName { font-size: 0.9375rem; color: var(--text-secondary); } .metricRow .metricValue { font-size: 1rem; font-weight: 600; color: var(--text-primary); } /* Absence Section */ .absenceSection { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); } .absenceGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; } .absenceCard { background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 1.5rem; text-align: center; } .absenceLabel { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 0.75rem; font-weight: 500; } .absenceValue { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); } /* Map Section */ .mapSection { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); } .mapContainer { width: 100%; height: 400px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-light); } /* History Section */ .historySection { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-sm); } .tableWrapper { overflow-x: auto; margin-top: 1rem; } .dataTable { width: 100%; border-collapse: collapse; font-size: 0.9375rem; } .dataTable thead { background: var(--bg-secondary); } .dataTable th { padding: 1rem; text-align: left; font-weight: 600; color: var(--text-primary); border-bottom: 2px solid var(--border-medium); } .dataTable td { padding: 1rem; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); } .dataTable tbody tr:last-child td { border-bottom: none; } .dataTable tbody tr:hover { background: var(--bg-secondary); } .yearCell { font-weight: 600; color: var(--text-primary); } /* Responsive Design */ @media (max-width: 768px) { .headerContent { flex-direction: column; gap: 1.5rem; } .actions { width: 100%; } .btnAdd, .btnRemove { flex: 1; } .schoolName { font-size: 1.5rem; } .meta { flex-direction: column; gap: 0.5rem; } .metricsGrid { grid-template-columns: 1fr; } .chartContainer { height: 300px; } .mapContainer { height: 300px; } .dataTable { font-size: 0.875rem; } .dataTable th, .dataTable td { padding: 0.75rem 0.5rem; } }