/* Custom Google Maps Styling */
#custom-map {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 16px;
}

/* Ensure the map container has proper dimensions */
.map-wrapper #custom-map {
    border-radius: 16px;
}

/* =====================
   Dark InfoWindow Theme
   ===================== */

/* Outer info window container */
.gm-style .gm-style-iw-c {
    background: #0f0f0f !important;
    border-radius: 16px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65) !important;
}

/* Inner scroll/content wrapper */
.gm-style .gm-style-iw-d {
    overflow: hidden !important;
    padding: 12px !important;
}

/* The little "tip"/arrow */
.gm-style .gm-style-iw-t::after {
    background: #0f0f0f !important;
    box-shadow: none !important;
}

/* Close button */
.gm-style button.gm-ui-hover-effect {
    filter: invert(1);
    opacity: 0.85;
}

.gm-style button.gm-ui-hover-effect:hover {
    opacity: 1;
}

/* Our content */
.kfa-map-iw {
    max-width: 260px;
}

.kfa-map-iw__title {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.kfa-map-iw__addr {
    font-family: 'Libre Franklin', sans-serif;
    margin: 0 0 10px 0;
    color: #cfcfcf;
    line-height: 1.35;
}

.kfa-map-iw__link {
    font-family: 'Libre Franklin', sans-serif;
    display: inline-block;
    color: #ff2d2d;
    text-decoration: none;
    font-weight: 700;
}

.kfa-map-iw__link:hover {
    text-decoration: underline;
}
