/* Estilos propios para páginas legales y banner de cookies */

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.legal-content h2 {
    text-transform: uppercase;
    font-size: 1.4rem;
    margin-top: 2.5rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.legal-content p,
.legal-content li {
    color: #6c757d;
}

.legal-content ul {
    padding-left: 1.25rem;
}

.legal-content .updated {
    font-style: italic;
    font-size: 0.9rem;
}

/* Mapa con carga condicionada al consentimiento */
.map-consent-wrapper {
    position: relative;
    min-height: 450px;
}

.map-consent-wrapper iframe {
    position: relative;
    z-index: 1;
}

.map-consent-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #f8f9fa;
    text-align: center;
    padding: 1.5rem;
}

.map-consent-placeholder.d-none {
    display: none;
}

/* Banner de cookies */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -100%;
    z-index: 1080;
    background: #212529;
    color: #fff;
    padding: 1rem 1.25rem;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
}

.cookie-banner-text {
    margin: 0;
    flex: 1 1 320px;
    font-size: 0.9rem;
}

.cookie-banner-text a {
    color: #ffc800;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
