/* Banner de consentimiento de cookies y bloqueo de Google Maps (ver static/js/cookies.js). */

.cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    background: #032a47;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}

.cc-banner[hidden] {
    display: none;
}

.cc-banner__text {
    flex: 1 1 420px;
    margin: 0;
}

.cc-banner__text a {
    color: #fff;
    text-decoration: underline;
}

.cc-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Aceptar y Rechazar con el mismo peso visual (criterio de la AEPD). */
.cc-btn {
    min-width: 120px;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 100px;
    background: #fff;
    color: #032a47;
    font: inherit;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.cc-btn:hover {
    background: #1e53ca;
    border-color: #1e53ca;
    color: #fff;
}

.cc-btn:focus-visible {
    outline: 3px solid #f32727;
    outline-offset: 2px;
}

/* Hueco del mapa mientras no hay consentimiento. */
.map-container {
    height: 100%;
}

.cc-map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    box-sizing: border-box;
    background: #f2f2f2;
    color: #252525;
    font-family: Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.cc-map-placeholder p {
    margin: 0;
}

.cc-map-placeholder .cc-btn {
    background: #1e53ca;
    border-color: #1e53ca;
    color: #fff;
}

.cc-map-placeholder .cc-btn:hover {
    background: #032a47;
    border-color: #032a47;
}

@media (max-width: 600px) {
    .cc-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 16px;
    }

    .cc-banner__actions,
    .cc-btn {
        flex: 1 1 auto;
    }
}
