/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-dark);
    /* Dark blue from CD */
    color: var(--text-light);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    font-family: 'Open Sans', sans-serif;
}

#cookie-banner .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

#cookie-banner p {
    margin: 0 0 15px 0;
    flex: 1 1 100%;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-banner .cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

#cookie-banner .btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
}

#cookie-banner .btn-accept {
    background-color: var(--primary-color);
    /* Primary blue from CD */
    color: var(--text-light);
}

#cookie-banner .btn-accept:hover {
    background-color: var(--primary-hover);
}

#cookie-banner .btn-deny {
    background-color: transparent;
    border: 1px solid #fff;
    color: var(--text-light);
}

#cookie-banner .btn-deny:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    #cookie-banner p {
        flex: 1;
        margin: 0 20px 0 0;
    }
}

/* Floating Settings Button */
/* Floating Settings Button */
#cookie-settings-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

#cookie-settings-btn .bi-cookie {
    font-size: 28px;
    line-height: 1;
    margin-top: 1px;
    /* Visual correction to center */
    color: #fff;
    filter: none;
    -webkit-text-stroke: 0;
}

#cookie-settings-btn:hover {
    background-color: var(--primary-hover);
    transform: scale(1.1);
}

#cookie-settings-btn:hover .bi-cookie {
    color: #fff;
}

/* Map Overlay Styles */
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa;
    color: #333;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.map-placeholder-content {
    padding: 20px;
    max-width: 400px;
}

.map-placeholder h3 {
    margin-top: 0;
    color: var(--background-dark);
}

.map-placeholder p {
    margin-bottom: 20px;
}

/* Ensure map container has relative positioning for overlay */
#map {
    position: relative;
    min-height: 400px;
    /* Ensure height if map isn't loaded */
}