#dental-school-stats-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    padding: 2em;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 2px solid #00507B;
    padding-bottom: 1em;
    margin-bottom: 2em;
}

.header h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: #003459;
    margin: 0;
}

#real-time-clock {
    font-size: 1.1em;
    color: #003459;
    background-color: #e9ecef;
    padding: 0.5em 1em;
    border-radius: 8px;
    text-align: right;
    line-height: 1.4;
}

.main-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5em;
    margin-bottom: 2.5em;
}

.stat-card {
    background: linear-gradient(145deg, #ffffff, #e6e9ed);
    padding: 1.5em;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.stat-card h2 {
    font-size: 1.3em;
    font-weight: 600;
    color: #005f73;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.big-number {
    font-size: 3.2em;
    font-weight: 700;
    color: #003459;
    margin: 0.2em 0;
}

.stat-card p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

.comparison-table-wrapper h2 {
    font-size: 1.8em;
    color: #003459;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #e0e0e0;
}

.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 0.95em;
}

thead {
    background-color: #003459;
    color: white;
}

th {
    font-weight: 600;
    position: sticky;
    top: 0;
    background-color: #003459;
}

tbody tr {
    transition: background-color 0.2s ease;
}

tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

tbody tr:hover {
    background-color: #eaf4f4;
}

td:nth-child(1), td:nth-child(5), td:nth-child(6), td:nth-child(8) {
    font-weight: 500;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1em;
    }

    .header h1 {
        font-size: 1.8em;
    }

    #real-time-clock {
        width: 100%;
        text-align: left;
    }
}