:root {
    --primary-color: #1a73e8;
    --secondary-color: #f8f9fa;
    --hover-color: #e8f0fe;
    --border-color: #ddd;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.main-container {
    max-width: 1200px;
    margin: 5 auto;
    padding: 0 15px;
}

.filter-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.filter-title i {
    margin-right: 10px;
    font-size: 1.4rem;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-row:last-child {
    border-bottom: none;
}

.filter-label {
    width: 100px;
    font-weight: 500;
    color: #555;
    flex-shrink: 0;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-grow: 1;
}

.filter-option {
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #f5f7fa;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.filter-option:hover {
    background-color: var(--hover-color);
    border-color: var(--primary-color);
}

.filter-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.search-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.search-input {
    flex-grow: 1;
    border-radius: 30px;
    padding: 12px 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s;
    width:40%;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
    outline: none;
}

.search-btn {
    border-radius: 30px;
    padding: 12px 30px;
    background-color: var(--primary-color);
    border: none;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3);
}

.search-btn:hover {
    background-color: #0d62c9;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 115, 232, 0.4);
}

.results-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 25px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.results-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.results-count {
    color: #666;
    font-size: 0.95rem;
}
.school-card {
    display: flex;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.school-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #1a73e8;
}

.school-logo {
    width: 200px;
    min-height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-right: 1px solid #eee;
}

.school-logo img {
    max-width: 100%;
    max-height: 170px;
    object-fit: contain;
}

.school-info {
    flex: 1;
    padding: 25px;
}

.school-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.school-name i {
    color: #1a73e8;
    font-size: 1.4rem;
}

.old-name {
    font-size: 1rem;
    color: #666;
    margin-left: 15px;
    font-style: italic;
    display:none
}

.info-row {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0;
    gap: 15px 30px;
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    gap: 8px;
}

.info-item i {
    color: #1a73e8;
    width: 20px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 8px;
}

.badge-211 {
    background: linear-gradient(120deg, #ff6b6b, #c0392b);
    color: white;
}

.badge-985 {
    background: linear-gradient(120deg, #1dd1a1, #10ac84);
    color: white;
}

.badge-double {
    background: linear-gradient(120deg, #5f27cd, #341f97);
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link {
    color: var(--primary-color);
    border-radius: 8px;
    margin: 0 5px;
    padding: 8px 16px;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-weight: 500;
    margin-bottom: 15px;
    color: #555;
}


.pagination-section {
            padding: 30px 20px;
            background: #f8f9fa;
            border-top: 1px solid #eaeaea;
        }

        .pagination-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .pagination-nav {
            display: flex;
            gap: 8px;
        }

        .pagination-btn, .pagination-page {
            display: inline-block;
            padding: 10px 18px;
            border-radius: 8px;
            background: white;
            border: 1px solid #ddd;
            color: #1a73e8;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            text-align: center;
            min-width: 45px;
        }

        .pagination-btn:hover, .pagination-page:hover {
            background: #1a73e8;
            color: white;
            border-color: #1a73e8;
        }

        .pagination-btn.active, .pagination-page.active {
            background: #1a73e8;
            color: white;
            border-color: #1a73e8;
        }

        .pagination-jump {
            display: flex;
            align-items: center;
            gap: 10px;
            background: white;
            padding: 8px 15px;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .pagination-jump select {
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            background: white;
        }

        .pagination-total {
            font-size: 1.05rem;
            color: #555;
            background: white;
            padding: 8px 15px;
            border-radius: 8px;
            border: 1px solid #ddd;
        }

        .stats {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin-top: 20px;
            font-size: 1.1rem;
            color: #555;
        }

        .stat-item {
            text-align: center;
            padding: 15px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            flex: 1;
            max-width: 250px;
        }

        .stat-number {
            font-size: 2.2rem;
            font-weight: 700;
            color: #1a73e8;
            margin: 10px 0;
        }

        @media (max-width: 900px) {
            .school-card {
                flex-direction: column;
            }

            .school-logo {
                width: 100%;
                min-height: 150px;
                border-right: none;
                border-bottom: 1px solid #eee;
            }

            .pagination-container {
                justify-content: center;
            }

            .stats {
                flex-direction: column;
                align-items: center;
            }
        }

        @media (max-width: 600px) {
            .search-box, .filters {
                flex-direction: column;
            }

            .pagination-nav {
                flex-wrap: wrap;
                justify-content: center;
            }
        }
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
    }

    .filter-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-label {
        margin-bottom: 10px;
        width: 100%;
    }

    .school-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .school-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .school-details {
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }
}