html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.service-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F9FAFB;
}

#map {
    width: 100%;
    height: calc(100vh - 80px);  /* Adjusted base on nav-bar */
    min-height: 400px;
    min-width: 300px; 
}

.leaflet-popup-content img {
  max-width: 90vw;  /* ไม่เกิน 90% ของความกว้างหน้าจอ */
  max-height: 80vh; /* ไม่เกิน 80% ของความสูงหน้าจอ */
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

#datepicker {
    
    padding: 8px;
    font-size: 16px;
    border-radius: 999px !important;
    text-align: center;
}

#img-overlay {
    overscroll-behavior: contain;
}

.leaflet-control-zoom {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 0px !important;
}

.leaflet-control-zoom a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 42px !important;
    height: 42px !important;
    line-height: 40px !important;
    border-radius: 50% !important;
    margin-top: 12px !important;
    margin-right: 1.5px !important;
    border: 2px solid rgba(0,0,0,0.3) !important;
}

.leaflet-tooltip {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

