.box-legend {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 2px;
    margin-right: 0.4rem;
} .table-popup {
    margin-top: 0 !important;
}

.icon-awlr {
    background-color: #4285F4 !important;
}

.icon-v-notch {
    background-color: #7092be !important;
}

.icon-ews {
    background-color: red !important;
}

.custom-marker {
    position: absolute;
    color: white;
    padding: 5px 10px;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Style for the marker icon */
.custom-marker .icon {
    background: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 40px;
    margin-right: 5px;
}

#warning-system-card {
    position: absolute; 
    top: 10px; 
    left: 10px; 
    background-color: rgba(255, 255, 255, 0.2); 
    width: 300px; 
    border-radius: 5px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    font-family: Arial, sans-serif;
    color: white;
    margin-top: 70px;
}

#vol-card {
    position: absolute; 
    top: 10px; 
    left: 320px; 
    background-color: rgba(255, 255, 255, 0.2); 
    width: 300px; 
    border-radius: 5px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    font-family: Arial, sans-serif;
    color: white;
    margin-top: 70px;
}

#vol-card .title {
    font-size: 16px;
    margin-bottom: 2px;
    color: #bfc1ca;
}
#vol-card .value {
    left: 10px;
    font-size: 20px;
    font-weight: bold;
}
#vol-card .date-last {
    left: 10px;
    font-size: 14px;
    color: #bfc1ca;
}
#vol-card sup {
    font-size: 12px;
    vertical-align: super;
}

#genangan-card {
    position: absolute; 
    top: 10px; 
    left: 630px; 
    background-color: rgba(255, 255, 255, 0.2); 
    width: 300px; 
    border-radius: 5px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    font-family: Arial, sans-serif;
    color: white;
    margin-top: 70px;
}

#genangan-card .title {
    font-size: 16px;
    margin-bottom: 2px;
    color: #bfc1ca;
}
#genangan-card .value {
    left: 10px;
    font-size: 20px;
    font-weight: bold;
}
#genangan-card .date-last {
    left: 10px;
    font-size: 14px;
    color: #bfc1ca;
}
#genangan-card sup {
    font-size: 12px;
    vertical-align: super;
}

#hollow-card {
    position: absolute; 
    top: 10px; 
    left: 940px; 
    background-color: rgba(255, 255, 255, 0.2); 
    width: 300px; 
    border-radius: 5px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    font-family: Arial, sans-serif;
    color: white;
    margin-top: 70px;
}

#hollow-card .title {
    font-size: 16px;
    margin-bottom: 2px;
    color: #bfc1ca;
}
#hollow-card .value {
    left: 10px;
    font-size: 20px;
    font-weight: bold;
}
#hollow-card .date-last {
    left: 10px;
    font-size: 14px;
    color: #bfc1ca !important;
}
#hollow-card sup {
    font-size: 12px;
    vertical-align: super;
}

#vnotch-card {
    position: absolute; 
    top: 10px; 
    left: 1250px; 
    background-color: rgba(255, 255, 255, 0.2); 
    width: 300px; 
    border-radius: 5px; 
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    font-family: Arial, sans-serif;
    color: white;
    margin-top: 70px;
}

#vnotch-card .title {
    font-size: 16px;
    margin-bottom: 2px;
    color: #bfc1ca;
}
#vnotch-card .value {
    left: 10px;
    font-size: 20px;
    font-weight: bold;
}
#vnotch-card .date-last {
    left: 10px;
    font-size: 14px;
    color: #bfc1ca !important;
}
#vnotch-card sup {
    font-size: 12px;
    vertical-align: super;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
  100% {
    opacity: 1;
  }
}

#status.normal {
    background-color: rgba(92, 184, 92, 0.5);
    
}

#status.siaga {
    background-color: rgba(247,160,3, 0.5);
    animation: blink 1.5s infinite;
}

#status.awas {
    background-color: rgba(239,83,80, 0.5);
    animation: blink 1.5s infinite;
}


#status.waspada {
    background-color: rgba(248,237,98, 0.5);
    animation: blink 1.5s infinite;
}

#status {
    
    left: 1px;
    color: white; 
    text-align: center;
    padding: 10px 0px; 
    font-size: 16px; 
    margin: 10px auto; 
    border-radius: 5px; 
    z-index: 10; 
    width: 60%;
    position: relative;
}

#menu-section {
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    bottom: 20px;
    width: 50%;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    background-color: rgba(187, 153, 14, 0.6);
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vibrating-wire-popup .d-flex {
    display: flex;
    align-items: flex-start; /* Ensure alignment starts from the top */
}

.vibrating-wire-popup {
    /* width: 1100px;
    max-height: 500px;
    overflow-y: auto; */

    width: 100%;
    max-height: 75vh;
    overflow-y: auto;
}
.vibrating-wire-popup table {
    width: 100%;
}
/* .vibrating-wire-popup .sensor-readings {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
    margin-left: 0;
    margin-top: 10px;
    padding: 10px;
}
.vibrating-wire-popup .sensor-reading {
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    width: 120px;
    height: 55px;
} */
.vibrating-wire-popup .sensor-reading .value {
    font-size: 12px;
    font-weight: bold;
    color: #2A62A6;
}
.vibrating-wire-popup .sensor-reading .label {
    font-size: 12px;
    color: #6c757d;
}
.end-hr {
    color: blue;
}

.vibra-modal{
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.2); /* Transparansi dasar */
  backdrop-filter: blur(10px); /* Efek blur di belakang */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1)); /* Efek glossy dengan gradien */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Border transparan */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Bayangan halus */
  color: white;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 1366px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
    .custom-modal-size {
        max-width: 95% !important;
        width: 95% !important;
    }
}

body, html {
  overflow-y: hidden;
  height: 100%; /* Pastikan tinggi elemen html dan body 100% */
}

#map:-webkit-full-screen { width: 100% !important; height: 100% !important; }
#map:-moz-full-screen { width: 100% !important; height: 100% !important; }
#map:-ms-fullscreen { width: 100% !important; height: 100% !important; }
#map:fullscreen { width: 100% !important; height: 100% !important; }