/**
 * Stili per il sistema di gestione dei cookie
 * L'Impronta S.r.l.
 */

/* Banner dei cookie */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 400px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    z-index: 9999;
    font-size: 14px;
}

.cookie-content {
    padding: 20px;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-header h5 {
    margin: 0;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.cookie-footer {
    margin-top: 15px;
    font-size: 12px;
}

.cookie-settings {
    margin-top: 15px;
}

.cookie-settings .form-check {
    margin-bottom: 15px;
}

.cookie-settings .form-check-label p {
    margin-top: 5px;
    margin-bottom: 0;
}

/* Pulsante per le impostazioni dei cookie */
.cookie-settings-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background-color 0.3s;
}

.cookie-settings-button:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 576px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        max-width: none;
        width: calc(100% - 20px);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
