/* Afrischools Global Theme Styles */
:root {
    --primary: #007e8f;       /* teal blue */
    --primary-dark: #006670;
    --accent: #d2af61;        /* warm gold/orange */
    --light-bg: #f5f7fa;
    --card-bg: #ffffff;
    --text: #2c3e50;
    --muted: #6c757d;
}

body {
    background-color: var(--light-bg);
    color: var(--text);
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
}

a {
    color: #9bd5e5;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #2c3e50;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #c19a50;
    border-color: #c19a50;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background-color: var(--card-bg);
}

.navbar-logo {
    height: 48px;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: var(--primary);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table tbody tr:nth-child(even) {
    background-color: #f8fcff;
}

footer {
    background: linear-gradient(135deg, #2c3e50, #1a2634);
}

/* Sidebar (used in compare page) */
.sidebar {
    background: white;
    border-left: 1px solid #dee2e6;
    box-shadow: -3px 0 12px rgba(0,0,0,0.06);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .sidebar {
        border-left: none;
        border-top: 1px solid #dee2e6;
        box-shadow: none;
    }
}