/* Estilos para el banner de cookies */
.cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centra el banner en la pantalla */
    background-color: #333;
    color: #fff;
    padding: 20px;
    font-size: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 80%;
    max-width: 500px;
    /* Puedes ajustar el tamaño máximo */
}

/* Fondo opaco para bloquear el contenido */
.cookie-banner::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo oscuro semi-transparente */
    z-index: -1;
    /* Coloca el fondo detrás del banner */
}

/* Estilo de los botones dentro del banner */
.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cookie-buttons button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
    background-color: #45a049;
}

.cookie-buttons button:focus {
    outline: none;
}

/* Estilos para la configuración de cookies */
.cookie-config {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    width: 300px;
    display: none;
}

.cookie-config h4 {
    margin-top: 0;
    font-size: 1.25rem;
    margin-bottom: 10px;
    text-align: center;
}

.cookie-config label {
    display: block;
    margin: 10px 0;
    font-size: 1rem;
}

.cookie-config input[type="checkbox"] {
    margin-right: 8px;
}

.cookie-config button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    display: block;
    margin: 20px auto 0;
    width: 100%;
}

.cookie-config button:hover {
    background-color: #45a049;
}

/* Agregar sombra al formulario para destacarlo */
.cookie-config form {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px; }