body, html {
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f8f9fa;
            overflow: hidden;
        }
        .navbar-brand img {
            height: 40px;
        }
        .main-container {
            height: calc(100vh - 120px);
            padding: 15px 15px 15px 15px;
        }
        .selection-sidebar {
            background-color: white;
            padding: 15px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .forecast-display {
            //background-color: white;
            padding: 2px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .card {
            border-radius: 8px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
            margin-bottom: 0;
            border: 1px solid #dee2e6;
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .card-body {
            flex: 1;
            padding: 0;
            overflow: hidden;
        }
      /* Base tabs container */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
    background: #f8f9fa;
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* Tab links */
.nav-tabs .nav-link {
    font-weight: 400;
    color: #127c90;
    padding: 0.2rem 2rem;
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease-in-out;
    margin-right: 1.5rem;
    background-color: transparent;
}

/* Hover effect */
.nav-tabs .nav-link:hover {
    color: #0a5d6c;
    background-color: #eaf6f8;
    transform: translateY(-2px);
}

/* Active tab */
.nav-tabs .nav-link.active {
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #387cec, #285dcc);
    box-shadow: 0 4px 8px rgba(56, 124, 236, 0.3);
    border: none;
}

/* Optional: make active tab stand out with subtle glow */
.nav-tabs .nav-link.active:hover {
    background: linear-gradient(135deg, #285dcc, #1b4fb6);
}

        .image-container {
            height: 72vh;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            padding: 5px;
        }
        .forecast-image {
            max-width: 100%;
            max-height: 100%;
            border: 1px solid #dee2e6;
            border-radius: 5px;
            transition: opacity 0.3s ease;
            object-fit: contain;
        }
        .fade-in {
            animation: fadeIn 0.5s;
        }
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        .selection-info {
            background-color: #e9ecef;
            border-left: 4px solid #0d6efd;
            padding: 12px;
            border-radius: 5px;
            margin: 12px 0;
            font-size: 0.9rem;
        }
        #sidebarMap {
            height: 40vh;
            margin-bottom: 10px;
            border-radius: 5px;
            overflow: hidden;
            border: 1px solid #dee2e6;
        }
        .custom-marker {
            background-color: #ffffff;
            border: 2px solid #0d6efd;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
        }
        .custom-marker::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 10px;
            height: 10px;
            background-color: #0d6efd;
            border-radius: 50%;
        }
        .leaflet-popup-content {
            color: #212529;
        }
        .navbar-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-left: 10px;
            color: #fff;
        }
        hr {
            margin: 0.8rem 0;
            color: #dee2e6;
            opacity: 1;
        }
        .selection-tabs .nav-link {
            padding: 0.5rem 0.8rem;
            font-size: 0.9rem;
        }
        .dropdown-selector {
            display: block;
        }
        .no-forecast {
            text-align: center;
            padding: 40px;
            color: #6c757d;
        }
        .no-forecast i {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        .map-instructions {
            font-size: 0.85rem;
            color: #6c757d;
            margin-bottom: 10px;
            text-align: center;
        }
        .tab-content {
            flex-grow: 1;
            overflow: hidden;
        }
        .tab-pane {
            height: 100%;
        }
       .footer {
    height: 25px;
    border-top: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0;
    position: absolute;  /* overlay style */
    bottom: 0;              /* stick at top of content area */
    left: 0;
    width: 100%;
    z-index: 1000;
}
        .auto-update-container {
            margin-top: 12px;
        }
        .form-label {
            margin-bottom: 0.4rem;
            font-size: 0.9rem;
        }
        .form-select, .btn {
            padding: 0.5rem 0.8rem;
            font-size: 0.9rem;
        }
        


        
        /* Leaflet Search Customization */
        .leaflet-control-search {
            border: 1px solid #ccc;
            background: white;
            border-radius: 4px;
        }
        .leaflet-control-search .search-input {
            outline: none;
            border: 1px solid #ccc;
            border-radius: 4px;
            padding: 5px;
        }
        .leaflet-control-search .search-button {
            background-color: white;
            color: white;
            border-radius: 4px;
        }
        .leaflet-control-search .search-tooltip {
            margin-top: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            max-height: 150px;
            overflow-y: auto;
        }
        .leaflet-control-search .search-tooltip .search-tip {
            padding: 5px 10px;
            border-bottom: 1px solid #eee;
        }
        .leaflet-control-search .search-tooltip .search-tip:hover {
            background-color: #f0f0f0;
        }
        
        @media (max-width: 992px) {
            body, html {
                overflow: auto;
            }
            .main-container {
                height: auto;
                min-height: calc(100vh - 120px);
            }
            .selection-sidebar, .forecast-display {
                height: auto;
                margin-bottom: 15px;
            }
            .image-container {
                height: 60vh;
            }
        }
        
        /* Header / Logo / Navbars */
.navbar-brand, .section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* Bold for logo and headings */
}

/* Body / Content / Tables */
body, .forecast-text, .tab-content, table {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500; /* Regular for content */
        }
    
    <!-- Optional CSS for ultra-compact responsiveness -->
<!-- Animation CSS -->

  /* Smooth hover effect on nav links */
  .navbar-nav .nav-link {
    transition: all 0.3s ease-in-out;
    position: relative;
  }

  .navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

  /* Underline animation on hover */
  .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s;
  }

  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }

  /* Fade-in for collapse menu */
  .navbar-collapse {
    transition: max-height 0.5s ease-in-out;
    overflow: hidden;
  }

  @media (max-width: 991px) {
    .navbar-collapse.collapse.show {
      animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
      from { max-height: 0; opacity: 0; }
      to { max-height: 500px; opacity: 1; }
    }
  }