/* Aviso de cookies DelegBCN: dos opciones de igual importancia. */
.deleg-cookie-banner[hidden] { display: none !important; }

.deleg-cookie-banner {
    position: fixed;
    z-index: 10000;
    bottom: 16px;
    left: var(--page-gutter, 16px);
    right: var(--page-gutter, 16px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1100px;
    margin-inline: auto;
    padding: 20px;
    border: 1px solid var(--deleg-panel-border, #d5e0eb);
    border-radius: 12px;
    background: var(--deleg-panel-bg, #fff);
    color: var(--deleg-panel-text, #102c53);
    box-shadow: 0 10px 32px rgb(0 0 0 / 25%);
}

.deleg-cookie-text { flex: 1 1 600px; min-width: 0; }
.deleg-cookie-text strong { display: block; margin-bottom: 7px; font-size: 16px; }
.deleg-cookie-text p { margin: 6px 0; font-size: 14px; line-height: 1.5; }
.deleg-cookie-text a { color: inherit; text-decoration: underline; }
.deleg-cookie-text a:hover { text-decoration-thickness: 2px; }

.deleg-cookie-actions { display: flex; flex: 0 0 auto; gap: 10px; }
.deleg-cookie-actions button {
    min-width: 100px;
    padding: 11px 16px;
    border: 1px solid white;
    border-radius: 8px;
    background: var(--deleg-panel-active, #087bc6);
    color: var(--deleg-panel-active-text, #fff);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
    .deleg-cookie-actions button:hover {
        background-color: #102c53;
    }
.deleg-cookie-actions button:focus-visible,
.deleg-cookie-text a:focus-visible {
    outline: 3px solid #4b9fe4;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .deleg-cookie-banner {
        bottom: 8px;
        left: 8px;
        right: 8px;
        max-height: 85vh;
        padding: 14px;
        overflow-y: auto;
    }
    .deleg-cookie-actions { width: 100%; }
    .deleg-cookie-actions button { flex: 1 1 0; min-width: 0; }
}
