Files
school_compare/frontend/styles.css

1232 lines
23 KiB
CSS
Raw Normal View History

2026-01-06 13:52:00 +00:00
/*
* SchoolCompare.co.uk
2026-01-06 13:52:00 +00:00
* A warm, editorial design inspired by quality publications
*/
:root {
/* Warm, sophisticated palette */
--bg-primary: #faf7f2;
--bg-secondary: #f3ede4;
--bg-card: #ffffff;
--bg-accent: #1a1612;
--text-primary: #1a1612;
--text-secondary: #5c564d;
--text-muted: #8a847a;
--text-inverse: #faf7f2;
--accent-coral: #e07256;
--accent-coral-dark: #c45a3f;
--accent-teal: #2d7d7d;
--accent-teal-light: #3a9e9e;
--accent-gold: #c9a227;
--accent-navy: #2c3e50;
/* Chart colors */
--chart-1: #e07256;
--chart-2: #2d7d7d;
--chart-3: #c9a227;
--chart-4: #7b68a6;
--chart-5: #3498db;
--border-color: #e5dfd5;
--shadow-soft: 0 2px 8px rgba(26, 22, 18, 0.06);
--shadow-medium: 0 4px 20px rgba(26, 22, 18, 0.1);
--shadow-strong: 0 8px 40px rgba(26, 22, 18, 0.15);
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 16px;
--radius-xl: 24px;
--transition: 0.2s ease;
--transition-slow: 0.4s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
}
/* Subtle noise texture overlay */
.noise-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
opacity: 0.03;
z-index: 1000;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
/* Header */
.header {
background: var(--bg-card);
border-bottom: 1px solid var(--border-color);
position: sticky;
top: 0;
z-index: 100;
}
.header-content {
max-width: 1400px;
margin: 0 auto;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
gap: 0.75rem;
2026-01-07 16:20:49 +00:00
text-decoration: none;
color: inherit;
2026-01-06 13:52:00 +00:00
}
.logo-icon {
width: 40px;
height: 40px;
color: var(--accent-coral);
}
.logo-text {
display: flex;
flex-direction: column;
}
.logo-title {
font-family: 'Playfair Display', Georgia, serif;
font-size: 1.25rem;
font-weight: 700;
color: var(--text-primary);
line-height: 1.2;
}
.logo-subtitle {
font-size: 0.7rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.1em;
}
.nav {
display: flex;
gap: 0.5rem;
}
.nav-link {
padding: 0.6rem 1.2rem;
text-decoration: none;
color: var(--text-secondary);
font-weight: 500;
font-size: 0.9rem;
border-radius: var(--radius-md);
transition: var(--transition);
}
.nav-link:hover {
color: var(--text-primary);
background: var(--bg-secondary);
}
.nav-link.active {
background: var(--bg-accent);
color: var(--text-inverse);
}
/* Main Content */
.main {
max-width: 1400px;
margin: 0 auto;
padding: 2rem;
}
.view {
display: none;
animation: fadeIn 0.3s ease;
}
.view.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Hero Section */
.hero {
text-align: center;
padding: 3rem 0 2rem;
}
.hero-title {
font-family: 'Playfair Display', Georgia, serif;
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 700;
color: var(--text-primary);
margin-bottom: 0.75rem;
line-height: 1.2;
}
.hero-subtitle {
font-size: 1.1rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto;
}
/* Search Section */
.search-section {
max-width: 700px;
margin: 2rem auto 3rem;
}
/* Search Mode Toggle */
.search-mode-toggle {
display: flex;
justify-content: center;
gap: 0;
margin-bottom: 1.5rem;
background: var(--bg-card);
border: 2px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 4px;
max-width: 400px;
margin-left: auto;
margin-right: auto;
}
.search-mode-btn {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
font-size: 0.95rem;
font-family: inherit;
font-weight: 500;
border: none;
border-radius: var(--radius-md);
background: transparent;
color: var(--text-muted);
cursor: pointer;
transition: var(--transition);
}
.search-mode-btn:hover {
color: var(--text-primary);
}
.search-mode-btn.active {
background: var(--accent-coral);
color: white;
box-shadow: 0 2px 8px rgba(224, 114, 86, 0.3);
}
.search-mode-btn svg {
flex-shrink: 0;
}
/* Search Panels */
.search-panel {
display: none;
}
.search-panel.active {
display: block;
}
2026-01-06 13:52:00 +00:00
.search-container {
position: relative;
margin-bottom: 1rem;
}
.search-input {
width: 100%;
padding: 1rem 1.25rem 1rem 3.5rem;
font-size: 1rem;
font-family: inherit;
border: 2px solid var(--border-color);
border-radius: var(--radius-lg);
background: var(--bg-card);
color: var(--text-primary);
transition: var(--transition);
}
.search-input:focus {
outline: none;
border-color: var(--accent-coral);
box-shadow: 0 0 0 4px rgba(224, 114, 86, 0.1);
}
.search-input::placeholder {
color: var(--text-muted);
}
.search-icon {
position: absolute;
left: 1.25rem;
top: 50%;
transform: translateY(-50%);
width: 20px;
height: 20px;
color: var(--text-muted);
}
.filter-row {
display: flex;
gap: 1rem;
justify-content: center;
}
.filter-select {
padding: 0.6rem 2rem 0.6rem 1rem;
font-size: 0.9rem;
font-family: inherit;
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
background: var(--bg-card);
color: var(--text-primary);
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c564d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 0.75rem center;
transition: var(--transition);
}
2026-01-06 16:59:25 +00:00
/* Location Search */
.location-input-group {
margin-bottom: 1rem;
2026-01-06 16:59:25 +00:00
display: flex;
gap: 0.75rem;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
2026-01-06 16:59:25 +00:00
}
.postcode-input {
width: auto;
max-width: 180px;
padding: 0.6rem 1rem;
font-size: 0.95rem;
}
.postcode-input::placeholder {
text-transform: none;
2026-01-06 16:59:25 +00:00
}
.radius-select {
width: auto;
min-width: 100px;
}
.location-btn {
padding: 0.6rem 1.25rem;
font-size: 0.9rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.location-clear-btn {
padding: 0.6rem 1rem;
font-size: 0.9rem;
background: var(--bg-secondary);
color: var(--text-secondary);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
cursor: pointer;
transition: var(--transition);
}
.location-clear-btn:hover {
background: var(--border-color);
color: var(--text-primary);
}
.location-info {
text-align: center;
margin-bottom: 1rem;
padding: 0.75rem 1.25rem;
background: var(--accent-teal);
color: var(--text-inverse);
border-radius: var(--radius-md);
font-size: 0.9rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.location-info svg {
width: 16px;
height: 16px;
}
.distance-badge {
display: inline-block;
padding: 0.25rem 0.5rem;
background: var(--accent-teal);
color: var(--text-inverse);
border-radius: var(--radius-sm);
font-size: 0.75rem;
font-weight: 600;
margin-left: 0.5rem;
}
2026-01-06 13:52:00 +00:00
.filter-select:focus {
outline: none;
border-color: var(--accent-teal);
}
/* Schools Grid */
.schools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.5rem;
}
2026-01-06 16:30:32 +00:00
/* Featured Schools Header */
.featured-header {
grid-column: 1 / -1;
text-align: center;
padding: 1rem 0 2rem;
}
.featured-header h3 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 1.5rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.featured-header p {
color: var(--text-muted);
font-size: 0.95rem;
}
.school-card.featured {
border-color: var(--accent-coral);
border-width: 2px;
}
2026-01-06 13:52:00 +00:00
.school-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 1.5rem;
cursor: pointer;
transition: var(--transition);
position: relative;
overflow: hidden;
}
.school-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background: var(--accent-coral);
transform: scaleY(0);
transition: var(--transition);
}
.school-card:hover {
border-color: var(--accent-coral);
box-shadow: var(--shadow-medium);
transform: translateY(-2px);
}
.school-card:hover::before {
transform: scaleY(1);
}
.school-name {
font-family: 'Playfair Display', Georgia, serif;
font-size: 1.15rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.school-meta {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1rem;
}
.school-tag {
font-size: 0.75rem;
padding: 0.25rem 0.6rem;
background: var(--bg-secondary);
color: var(--text-secondary);
border-radius: var(--radius-sm);
}
.school-tag.type {
background: rgba(45, 125, 125, 0.1);
color: var(--accent-teal);
}
.school-address {
font-size: 0.85rem;
color: var(--text-muted);
margin-bottom: 1rem;
}
.school-stats {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 0.75rem;
padding-top: 1rem;
border-top: 1px solid var(--border-color);
}
.stat {
text-align: center;
}
.stat-value {
font-size: 1.25rem;
font-weight: 700;
color: var(--text-primary);
}
.stat-value.positive {
color: var(--accent-teal);
}
.stat-value.negative {
color: var(--accent-coral);
}
.stat-label {
font-size: 0.7rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.05em;
}
/* Section Titles */
.section-title {
font-family: 'Playfair Display', Georgia, serif;
font-size: 2rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.section-subtitle {
font-size: 1rem;
color: var(--text-secondary);
margin-bottom: 2rem;
}
/* Compare View */
.compare-header {
text-align: center;
padding: 2rem 0;
}
.selected-schools {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-bottom: 2rem;
min-height: 100px;
padding: 1.5rem;
background: var(--bg-secondary);
border-radius: var(--radius-lg);
justify-content: center;
align-items: center;
}
.empty-selection {
text-align: center;
color: var(--text-muted);
}
.empty-icon {
width: 48px;
height: 48px;
margin: 0 auto 0.5rem;
color: var(--text-muted);
}
.selected-school-tag {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.6rem 1rem;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
font-size: 0.9rem;
color: var(--text-primary);
animation: slideIn 0.2s ease;
}
@keyframes slideIn {
from { opacity: 0; transform: scale(0.9); }
to { opacity: 1; transform: scale(1); }
}
.selected-school-tag .remove {
width: 18px;
height: 18px;
border: none;
background: var(--bg-secondary);
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
}
.selected-school-tag .remove:hover {
background: var(--accent-coral);
color: white;
}
.compare-search-section {
max-width: 500px;
margin: 0 auto 2rem;
position: relative;
}
.compare-results {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: var(--shadow-medium);
max-height: 300px;
overflow-y: auto;
z-index: 50;
display: none;
}
.compare-results.active {
display: block;
}
2026-01-06 15:58:15 +00:00
.compare-results-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.6rem 1rem;
background: var(--bg-secondary);
border-bottom: 1px solid var(--border-color);
font-size: 0.8rem;
color: var(--text-muted);
position: sticky;
top: 0;
}
.compare-results-close {
width: 24px;
height: 24px;
border: none;
background: transparent;
border-radius: var(--radius-sm);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-muted);
transition: var(--transition);
}
.compare-results-close:hover {
background: var(--accent-coral);
color: white;
}
2026-01-06 13:52:00 +00:00
.compare-result-item {
padding: 0.75rem 1rem;
cursor: pointer;
border-bottom: 1px solid var(--border-color);
transition: var(--transition);
}
.compare-result-item:last-child {
border-bottom: none;
}
.compare-result-item:hover {
background: var(--bg-secondary);
}
.compare-result-item .name {
font-weight: 500;
color: var(--text-primary);
}
.compare-result-item .location {
font-size: 0.8rem;
color: var(--text-muted);
}
/* Charts Section */
.charts-section {
margin-top: 2rem;
}
.metric-selector {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
}
.metric-selector label {
font-weight: 500;
color: var(--text-secondary);
}
.chart-container {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
padding: 2rem;
margin-bottom: 2rem;
}
/* Data Table */
.data-table-container {
overflow-x: auto;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-lg);
}
.data-table {
width: 100%;
border-collapse: collapse;
}
.data-table th,
.data-table td {
padding: 1rem;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.data-table th {
background: var(--bg-secondary);
font-weight: 600;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-secondary);
}
.data-table tr:last-child td {
border-bottom: none;
}
.data-table tr:hover td {
background: rgba(224, 114, 86, 0.03);
}
/* Rankings View */
.rankings-header {
text-align: center;
padding: 2rem 0;
}
.rankings-controls {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 2rem;
}
.rankings-list {
max-width: 800px;
margin: 0 auto;
}
.ranking-item {
display: flex;
align-items: center;
gap: 1.5rem;
padding: 1.25rem 1.5rem;
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: var(--radius-md);
margin-bottom: 0.75rem;
transition: var(--transition);
cursor: pointer;
}
.ranking-item:hover {
border-color: var(--accent-coral);
box-shadow: var(--shadow-soft);
}
.ranking-position {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
font-weight: 700;
font-size: 1rem;
}
.ranking-position.top-3 {
background: linear-gradient(135deg, var(--accent-gold), #d4af37);
color: white;
}
.ranking-position:not(.top-3) {
background: var(--bg-secondary);
color: var(--text-secondary);
}
.ranking-info {
flex: 1;
}
.ranking-name {
font-family: 'Playfair Display', Georgia, serif;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 0.25rem;
}
.ranking-location {
font-size: 0.85rem;
color: var(--text-muted);
}
.ranking-score {
text-align: right;
}
.ranking-score-value {
font-size: 1.5rem;
font-weight: 700;
color: var(--accent-teal);
}
.ranking-score-label {
font-size: 0.7rem;
color: var(--text-muted);
text-transform: uppercase;
}
/* Modal */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 200;
display: none;
align-items: center;
justify-content: center;
padding: 2rem;
}
.modal.active {
display: flex;
}
.modal-backdrop {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(26, 22, 18, 0.6);
backdrop-filter: blur(4px);
}
.modal-content {
position: relative;
background: var(--bg-card);
border-radius: var(--radius-xl);
max-width: 800px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
box-shadow: var(--shadow-strong);
animation: modalIn 0.3s ease;
}
@keyframes modalIn {
from { opacity: 0; transform: scale(0.95) translateY(20px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
position: absolute;
top: 1rem;
right: 1rem;
width: 40px;
height: 40px;
border: none;
background: var(--bg-secondary);
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition);
z-index: 10;
}
.modal-close:hover {
background: var(--accent-coral);
color: white;
}
.modal-close svg {
width: 20px;
height: 20px;
}
.modal-header {
padding: 2rem 2rem 1rem;
border-bottom: 1px solid var(--border-color);
}
.modal-header h2 {
font-family: 'Playfair Display', Georgia, serif;
font-size: 1.75rem;
font-weight: 700;
color: var(--text-primary);
margin-bottom: 0.5rem;
padding-right: 3rem;
}
.modal-meta {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
}
.modal-body {
padding: 2rem;
}
.modal-chart-container {
margin-bottom: 2rem;
}
.modal-stats {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.modal-stats-section {
padding: 1rem;
background: var(--bg-secondary);
border-radius: var(--radius-md);
}
.modal-stats-section h4 {
margin: 0 0 0.75rem 0;
font-size: 0.85rem;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.modal-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
gap: 0.75rem;
}
.modal-stat {
text-align: center;
padding: 1rem;
background: var(--bg-secondary);
border-radius: var(--radius-md);
}
.modal-stat-value {
font-size: 1.5rem;
font-weight: 700;
color: var(--text-primary);
}
.modal-stat-label {
font-size: 0.75rem;
color: var(--text-muted);
text-transform: uppercase;
margin-top: 0.25rem;
}
.modal-footer {
padding: 1.5rem 2rem;
border-top: 1px solid var(--border-color);
display: flex;
justify-content: flex-end;
}
/* Buttons */
.btn {
padding: 0.75rem 1.5rem;
font-size: 0.9rem;
font-family: inherit;
font-weight: 600;
border: none;
border-radius: var(--radius-md);
cursor: pointer;
transition: var(--transition);
}
.btn-primary {
background: var(--accent-coral);
color: white;
}
.btn-primary:hover {
background: var(--accent-coral-dark);
transform: translateY(-1px);
}
/* Footer */
.footer {
text-align: center;
padding: 2rem;
margin-top: 3rem;
border-top: 1px solid var(--border-color);
color: var(--text-muted);
font-size: 0.85rem;
}
.footer a {
color: var(--accent-teal);
text-decoration: none;
}
.footer a:hover {
text-decoration: underline;
}
.footer-note {
margin-top: 0.5rem;
font-size: 0.75rem;
}
/* Loading State */
.loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
color: var(--text-muted);
}
.loading-spinner {
width: 40px;
height: 40px;
border: 3px solid var(--border-color);
border-top-color: var(--accent-coral);
border-radius: 50%;
animation: spin 0.8s linear infinite;
margin-bottom: 1rem;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Empty State */
.empty-state {
text-align: center;
padding: 4rem 2rem;
color: var(--text-muted);
}
.empty-state svg {
width: 64px;
height: 64px;
margin-bottom: 1rem;
opacity: 0.5;
}
2026-01-06 16:30:32 +00:00
/* Skeleton Loading */
.skeleton {
pointer-events: none;
}
.school-card.skeleton {
background: var(--bg-card);
padding: 1.5rem;
}
.skeleton-line {
height: 1rem;
background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
border-radius: var(--radius-sm);
margin-bottom: 0.75rem;
}
.skeleton-line.short {
height: 0.75rem;
}
.ranking-item.skeleton {
background: var(--bg-card);
}
.skeleton-circle {
width: 40px;
height: 40px;
border-radius: 50%;
background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}
.skeleton-content {
flex: 1;
padding: 0 1rem;
}
.skeleton-score {
width: 60px;
height: 40px;
background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--border-color) 50%, var(--bg-secondary) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
border-radius: var(--radius-sm);
}
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}
/* Pagination */
.pagination-info {
grid-column: 1 / -1;
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
padding: 2rem;
color: var(--text-muted);
font-size: 0.9rem;
}
.btn-load-more {
padding: 0.6rem 1.5rem;
font-size: 0.9rem;
font-family: inherit;
font-weight: 500;
border: 2px solid var(--accent-coral);
border-radius: var(--radius-md);
background: transparent;
color: var(--accent-coral);
cursor: pointer;
transition: var(--transition);
}
.btn-load-more:hover {
background: var(--accent-coral);
color: white;
}
2026-01-06 13:52:00 +00:00
/* Responsive */
@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: 1rem;
}
.nav {
width: 100%;
justify-content: center;
}
.main {
padding: 1rem;
}
.hero-title {
font-size: 1.75rem;
}
.filter-row {
flex-direction: column;
}
2026-01-06 16:59:25 +00:00
.location-input-group {
flex-direction: column;
width: 100%;
}
.postcode-input {
max-width: 100%;
width: 100%;
}
.radius-select {
width: 100%;
}
.location-btn,
.location-clear-btn {
width: 100%;
justify-content: center;
}
2026-01-06 13:52:00 +00:00
.schools-grid {
grid-template-columns: 1fr;
}
.modal-content {
margin: 1rem;
max-height: calc(100vh - 2rem);
}
.rankings-controls {
flex-direction: column;
align-items: stretch;
}
}