/* Загальні стилі для банера згоди */
/* Загальний стиль банера */
#cookie-consent-banner {
    display: none;
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 100%;
    max-width: 445px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: left;
    font-family: Arial, sans-serif;
    z-index: 9999;
}

/* Стиль заголовка */
.cookie-banner h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Стиль тексту */
.cookie-banner p {
    font-size: 14px;
    color: #333;
    margin-bottom: 15px;
}

/* Контейнер для кнопок */
.cookie-buttons {
    display: flex;
    /* justify-content: flex-start; */
    justify-content: space-evenly;
    gap: 10px;
}

/* Стилі кнопок */
.cookie-btn {
    padding: 8px 12px;
    border: 3px solid #0468b1;
    border-radius: 0px;
    cursor: pointer;
    font-size: 14px;
    background: white;
    color: #0468b1;
    transition: 0.3s;
    font-weight: 600;
}

.cookie-btn.accept {
    background: #0468b1;
    color: white;
    border: none;
}

.cookie-btn.reject {
    border: 3px solid #333;
    color: #333;
}

.cookie-btn:hover {
    opacity: 0.8;
}


/* Стилі для модального вікна налаштувань */
.cookie-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
}

.cookie-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.modal-buttons .cookie-btn {
    flex: 1;
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 600px) {
    .cookie-content {
        padding: 10px;
    }
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cookie-btn {
        width: 100%;
        margin-top: 5px;
    }
    .modal-buttons {
        flex-direction: column;
        width: 100%;
    }
    .modal-buttons .cookie-btn {
        width: 100%;
        margin-top: 5px;
    }
}
