[class*="aviso-cookies"] {
    box-sizing: border-box;
}

.aviso-cookies-hidden {
    display: none !important;
}

.aviso-cookies {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    max-width: 920px;
    margin: 0 auto;
    padding: 18px 20px;
    border-radius: 12px;
    background: #1f0056;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.aviso-cookies-mensaje {
    color: #fff !important;
    font-family: Nunito, sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
}

.aviso-cookies-mensaje p {
    margin: 0;
    padding: 0;
}

.aviso-cookies-mensaje p + p {
    margin-top: 6px;
}

.aviso-cookies-mensaje a {
    color: #fff;
    text-decoration: underline;
}

.aviso-cookies-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.aviso-cookies-button {
    min-width: 110px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    padding: 9px 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.aviso-cookies-button-primary {
    background: #0095cf;
    color: #fff;
}

.aviso-cookies-button-primary:hover,
.aviso-cookies-button-primary:focus-visible {
    background: #00b7ff;
}

.aviso-cookies-button-secondary {
    border-color: rgba(255, 255, 255, 0.75);
    background: transparent;
    color: #fff;
}

.aviso-cookies-button-secondary:hover,
.aviso-cookies-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.aviso-cookies-button:focus-visible,
.aviso-cookies-mensaje a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .aviso-cookies {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .aviso-cookies-mensaje {
        flex: 1 1 auto;
    }

    .aviso-cookies-buttons {
        flex: 0 0 auto;
    }
}

@media (max-width: 480px) {
    .aviso-cookies {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 16px;
    }

    .aviso-cookies-buttons {
        justify-content: stretch;
    }

    .aviso-cookies-button {
        flex: 1 1 0;
        min-width: 0;
    }
}


/* Footer control used to reopen cookie preferences. */
.privacy-preferences-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
}

.privacy-preferences-link:hover,
.privacy-preferences-link:focus-visible {
    text-decoration-thickness: 2px;
}
