@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
/* Allow full width usage */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

#page-content {
    max-width: 2000px;
    padding: 0;
    margin: 0;
}

/* Optional: remove default padding from any layout wrapper */
.container,
.wrapper,
.content,
.main,
.site-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

#southeast-map,
#southcentral-map,
#west-map,
#florida-map,
#midwest-map,
#northeast-map{
    fill: #F1E7DE;
    stroke: #444;
    stroke-width: 1;
    transition: fill 0.2s;
    padding-top: 20px;
}

#map-container {
    text-align: center;
}

#southeast-map path:not(.no-hover):hover,
#southcentral-map path:not(.no-hover):hover,
#west-map path:not(.no-hover):hover,
#florida-map path:not(.no-hover):hover,
#midwest-map path:not(.no-hover):hover,
#northeast-map path:not(.no-hover):hover{
    fill: white !important;
    cursor: pointer;
}

#southeast-map,
#southcentral-map,
#west-map,
#florida-map,
#midwest-map,
#northeast-map{
    width: 100%; !important;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

#map-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1.5rem;
}

#map-container {
    flex: 3;
    min-width: 300px;
}

@media (max-width: 1400px) {
    #map-wrapper {
        flex-direction: column;
    }

    #map-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #map-popup {
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%);
        width: 90%;             /* fill most of screen width */
        max-width: 400px;       /* cap width */
        max-height: 80%;        /* prevent overflowing */
        overflow-y: auto;       /* scroll if too tall */
    }
}

.loader-wrapper {
    position: relative;
}

#page-content {
    position: relative;
}

#map-popup {
    position: fixed; /* follow cursor in viewport */
    pointer-events: auto;
    display: none;
    background: white;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    font-size: 14px;
    max-width: 250px;
}

/* The overlay */
.block-loader {
    position: absolute;
    inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* The spinner */
.block-loader .spinner {
    width: 40px;
    height: 40px;
    border: 5px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.button a {
    display: inline-block;                  /* makes the padding work like a button */
    background: var(--e-global-color-secondary);
    color: black;
    padding: 8px 20px;                      /* slightly balanced top/bottom */
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;              /* smooth hover transition */
    text-decoration: none;                  /* removes underline */
}

.button a:hover {
    background: #f2f2f2;                    /* subtle hover color */
    border: 1px solid black;
    color: black;
}