html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('/images/bg.avif') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
}

body {
    min-height: 100vh;
}

footer {
    background: rgba(255, 255, 255, 0.8);
    padding-bottom: 1em;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(2px);
    text-align: center;
    font-size: 0.9rem;
    margin-right: 20px;
    margin-left: 20px;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Lebih putih, lebih lembut */
    z-index: -1;
}

/* Tambahkan pembungkus utama */
.main-container {
    background: rgba(255, 255, 255, 0.9); /* Putih semi transparan */
    border-radius: 20px; /* Membuat sudut membulat */
    padding: 30px; /* Memberi ruang kanan kiri atas bawah */
    margin: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
    flex: 1;
}

h1, h2 {
    color: #333;
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
    justify-content: center; /* Biar rapih di tengah */
}

.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 200px;
    min-width: 150px;
    text-align: center;
    transition: all 0.3s ease;
}

.value {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.card.alert {
    background: #ffe5e5;
    border: 2px solid #ff5c5c;
    box-shadow: 0 0 10px rgba(255, 92, 92, 0.5);
}

.label {
    font-size: 14px;
    color: #777;
}


.header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* ini yang penting */
    margin-bottom: 30px;
    gap: 20px;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 60px;
    height: auto;
}

.header-texts h1 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.header-texts h2 {
    margin: 4px 0 0 0;
    font-size: 16px;
    font-weight: normal;
    color: #555;
}


.loading-gif {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

#windy {
    width: 100%;
    height: 300px;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.navbar .nav-link {
    color: #000 !important;
}
.navbar .nav-link.active {
    font-weight: bold;
    color: #0d6efd !important;
    border-bottom: 2px solid #0d6efd;
}



