body {
    font-family: 'Merriweather', serif;
    display: flex;
    background-color: #f0f0f0; /* Warna latar belakang seluruh halaman */
}

/* Style untuk sidebar */
.sidebar {
    width: 220px;
    padding: 10px;
    border-right: 1px solid #ccc;
    background: url('../img/side-1.webp') no-repeat center center; /* Gambar sebagai latar belakang */
    background-size: cover;
    background-color: #4682B4; /* Warna cadangan jika gambar tidak tersedia */
    color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    text-align: left;
}

.sidebar img {
    width: 150px;
    display: block;
    margin: 0 auto 20px auto;
}

.sidebar .welcome-text {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar a {
    display: block;
    padding: 8px 10px;
    text-decoration: none; /* Menghilangkan garis bawah pada link */
    font-size: 14px;
    color: white;
    margin-top: 5px;
    transition: color 0.3s, background-color 0.3s;
}

.sidebar a:hover {
    color: #1e90ff;
}

.sidebar a.active {
    color: #1e90ff; /* Mengubah warna teks menjadi biru saat link aktif */
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Style untuk wrapper */
.wrapper {
    display: flex;
    align-items: flex-start;
    margin-left: 240px; /* Lebar sidebar + jarak */
}

/* Style untuk daftar sekolah */
.school-list {
    flex: 1;
    padding: 20px;
}

.school-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.school-card {
    position: relative;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    background: url('../img/latar_kartu.png') no-repeat center center;
    background-size: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    flex: 1 1 calc(50% - 20px);
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek hover pada kartu sekolah */
.school-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3);
}

.school-card a {
    text-decoration: none;
    color: #007bff;
}

.school-card img {
    width: 100px;
    height: auto;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 5px;
    float: left;
}

.school-details {
    overflow: hidden;
    color: #000;
}

.school-details p {
    margin: 5px 0;
    font-weight: bold;
    color: #333;
}

.pagination-buttons {
    text-align: center;
    margin-top: 20px;
}

.pagination-buttons button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.pagination-buttons button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.pagination-buttons button:hover:not(:disabled) {
    background-color: #0056b3;
}


    .filter-section {
        margin-top: 20px;
        color: #fff;
    }

    .filter-section h3 {
        margin-top: 0;
        color: #fff;
    }

    .filter-section label {
        display: block;
        margin-top: 8px;
        font-weight: bold;
    }

    .filter-section select {
        width: 100%;
        padding: 5px;
        margin-top: 5px;
        background-color: #fff;
        color: #000;
    }
