body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

sidebar {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    z-index: 1000;
}

sidebar .image-section {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

sidebar .nav-link {
    font-size: 18px;
    padding: 0.75rem 1rem;
    margin: 0;
    border-radius: 0;
    display: block;
    width: 100%;
}

sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

sidebar .nav-link.active {
    background-color: white;
    color: #2563eb !important;
}

/* Submenu styling */
sidebar .nav-link.submenu-item {
    padding-left: 2rem;
    font-size: 16px;
}

.main-content {
    margin-left: 250px;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.navbar-custom {
    background-color: white;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 2rem;
}

.navbar-brand {
    font-weight: bold;
    color: #2563eb;
    top: 50px;
} 

.content {
    flex: 1;
}   

.footer {
    background-color: white;
    border-top: 1px solid #dee2e6;
    padding: 1rem 2rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.table-container {
    max-height: 400px !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.table-container thead th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    z-index: 2;
    border-bottom: 2px solid #dee2e6;
}

.table-container table {
    margin-bottom: 0;
    width: 100%;
    table-layout: fixed;
}

.table-container tbody tr {
    transition: background-color 0.2s;
}

.table-container tbody tr:hover {
    background-color: #f1f1f1;
}

/* Kotak Tabel Sekolah dengan Shadow */
.school-table-box {
    background-color: white;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    height: 500px;
    min-height: 500px; /* Tetap menggunakan min-height agar fleksibel */
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative; /* Untuk posisi absolut anak */
}

/* Kotak Map dengan Shadow */
.map-box {
    background-color: white;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    font-size: 24px;
    color: black;
    text-align: center;
}

/* Tambahkan shadow pada kartu statis */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.facility-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    background-color: #2563eb;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
    min-height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-button:hover {
    background-color: #357ABD;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.facility-button.inactive {
    background-color: #B8D4F0;
    color: #666;
}

.facility-button.inactive:hover {
    background-color: #A5C9E8;
    transform: none;
    color: #666;
}

.facilities-container {
    padding: 30px;
}

.facilities-grid {
    margin-bottom: 40px;
}


/* Kontainer untuk "Tanya Kami" di kanan bawah */
.tanya-kami-container {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 250px; /* Lebar disesuaikan agar pas dengan dua tombol berdampingan */
    max-width: 100%;
}

/* Bagian "Tanya Kami" sebagai kotak container */
.tanya-kami-section {
    text-align: center;
    background-color: #2563eb; /* Background biru untuk kotak utama */
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header "Tanya Kami" (non-link) */
.tanya-kami-header {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px; /* Jarak ke tombol di bawah */
}

/* Kontainer untuk dua tombol */
.contact-buttons {
    gap: 10px; /* Jarak antar tombol */
}

/* Tombol kontak (background putih, teks biru) */
.contact-button {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #2563eb; /* Teks biru */
    background-color: white; /* Background putih */
    border: 1px solid #2563eb; /* Border biru untuk tampilan tombol */
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    min-height: auto;
    margin-bottom: 0;
}

.contact-button:hover {
    background-color: #f0f7ff; /* Hover: biru sangat muda */
    color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsivitas */
@media (max-width: 768px) {
    .tanya-kami-container {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .contact-button {
        width: 100%;
    }
}