/* Aviso de cookies (ver js/cookies-consent.js) */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background: #231c55;
    color: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.25);
    font-family: "Poppins", sans-serif;
}

.cookie-banner__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.cookie-banner__text {
    flex: 1 1 auto;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
}

.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 12px;
}

/* Los dos botones tienen exactamente el mismo estilo: igual de destacados. */
.cookie-btn {
    min-width: 120px;
    padding: 10px 22px;
    border: 2px solid #fff;
    border-radius: 4px;
    background: #fff;
    color: #231c55;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s, color .15s;
}

.cookie-btn:hover {
    background: #ff6b02;
    border-color: #ff6b02;
    color: #fff;
}

.cookie-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }

    .cookie-banner__actions .cookie-btn {
        flex: 1 1 0;
    }
}

/* Páginas legales: Aviso legal, Política de privacidad y Política de cookies */
.texto-legal {
    max-width: 900px;
    padding-top: 10px;
    padding-bottom: 30px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

.texto-legal .actualizacion {
    color: #666;
    font-style: italic;
    margin-bottom: 24px;
}

.texto-legal h3 {
    color: #231c55;
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 12px;
}

.texto-legal h4 {
    color: #231c55;
    font-size: 17px;
    font-weight: 600;
    margin: 20px 0 10px;
}

.texto-legal ul {
    margin-bottom: 16px;
}

.texto-legal a {
    color: #231c55;
    text-decoration: underline;
}

.texto-legal .tabla-cookies {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 20px;
    font-size: 15px;
}

.texto-legal .tabla-cookies th,
.texto-legal .tabla-cookies td {
    border: 1px solid #d8d5e8;
    padding: 10px 12px;
    vertical-align: top;
    text-align: left;
}

.texto-legal .tabla-cookies th {
    background: #231c55;
    color: #fff;
    font-weight: 600;
}

.texto-legal .tabla-cookies tr:nth-child(even) td {
    background: #f7f6fb;
}

.texto-legal .tabla-cookies code {
    color: #231c55;
    background: none;
    font-size: 14px;
}

.texto-legal .btn-configurar {
    margin-top: 4px;
    background: #231c55;
    border-color: #231c55;
    color: #fff;
}
