.container { width: 100%; } /* Header */ .header { margin-bottom: 2rem; } .header h1 { font-size: 2rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.5rem; } .subtitle { font-size: 1rem; color: var(--text-secondary); margin: 0; } /* Filters */ .filters { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; box-shadow: var(--shadow-sm); } .filterGroup { display: flex; align-items: center; gap: 0.75rem; flex: 1; min-width: 200px; } .filterLabel { font-size: 0.9375rem; font-weight: 500; color: var(--text-primary); white-space: nowrap; } .filterSelect { flex: 1; padding: 0.625rem 1rem; font-size: 0.9375rem; border: 1px solid var(--border-medium); border-radius: var(--radius-md); background: white; color: var(--text-primary); cursor: pointer; transition: all var(--transition); } .filterSelect:hover { border-color: var(--primary); } .filterSelect:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } /* Rankings Section */ .rankingsSection { background: white; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); } .tableWrapper { overflow-x: auto; } .rankingsTable { width: 100%; border-collapse: collapse; font-size: 0.9375rem; } .rankingsTable thead { background: var(--bg-secondary); } .rankingsTable th { padding: 1rem; text-align: left; font-weight: 600; color: var(--text-primary); border-bottom: 2px solid var(--border-medium); white-space: nowrap; } .rankHeader { width: 80px; } .schoolHeader { min-width: 250px; } .areaHeader { min-width: 150px; } .typeHeader { min-width: 120px; } .valueHeader { width: 120px; text-align: center; } .actionHeader { width: 120px; text-align: center; } .rankingsTable td { padding: 1rem; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); } .rankingsTable tbody tr:last-child td { border-bottom: none; } .rankingsTable tbody tr:hover { background: var(--bg-secondary); } /* Top 3 Highlighting */ .rank1 { background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%) !important; } .rank2 { background: linear-gradient(90deg, rgba(192, 192, 192, 0.1) 0%, transparent 100%) !important; } .rank3 { background: linear-gradient(90deg, rgba(205, 127, 50, 0.1) 0%, transparent 100%) !important; } .rankCell { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--text-primary); } .medal { font-size: 1.5rem; line-height: 1; } .rankNumber { font-size: 1rem; } .schoolCell { font-weight: 500; } .schoolLink { color: var(--text-primary); text-decoration: none; transition: color var(--transition); } .schoolLink:hover { color: var(--primary); text-decoration: underline; } .areaCell, .typeCell { color: var(--text-secondary); } .valueCell { text-align: center; font-size: 1rem; } .valueCell strong { color: var(--text-primary); } .actionCell { text-align: center; } .addButton { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500; border: none; border-radius: var(--radius-md); cursor: pointer; transition: all var(--transition); background: var(--primary); color: white; } .addButton:hover:not(:disabled) { background: var(--primary-dark); } .addButton:disabled { background: var(--secondary); cursor: not-allowed; opacity: 0.6; } /* No Results */ .noResults { text-align: center; padding: 3rem 2rem; color: var(--text-secondary); } .noResults p { font-size: 1rem; margin: 0; } /* Responsive Design */ @media (max-width: 768px) { .header h1 { font-size: 1.5rem; } .filters { flex-direction: column; gap: 1rem; } .filterGroup { flex-direction: column; align-items: stretch; min-width: 100%; } .rankingsSection { padding: 1rem; } .rankingsTable { font-size: 0.875rem; } .rankingsTable th, .rankingsTable td { padding: 0.75rem 0.5rem; } .medal { font-size: 1.25rem; } .schoolHeader { min-width: 180px; } .areaHeader, .typeHeader { min-width: 100px; } }