/* Privacy / Cookie policy links inside banner (раніше идваха от vanilla-cookieconsent.css). */
.cc-link {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.cc-link:hover {
    text-decoration: none;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px; /* Padding за текста и бутоните */
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: none; /* Скрито по подразбиране */
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.cookie-banner p {
    margin: 0 0 10px 0;
    flex: 1;
    text-align: justify; /* Подравнен текст */
    padding-right: 20px;
}

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

/* Button Styles */
.cc-btn {
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.accept-btn {
    background-color: #1abc9c;
    color: white;
}

.accept-btn:hover {
    background-color: #16a085;
}

.settings-btn {
    background-color: #3498db;
    color: white;
}

.settings-btn:hover {
    background-color: #2980b9;
}

/* Responsive Styles for Screens Below 768px */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column; /* Подрежда текста и бутоните вертикално */
        align-items: flex-start; /* Подравнява към ляво */
    }

    .cookie-buttons {
        flex-direction: column; /* Бутоните един под друг */
        width: 100%;
        gap: 10px; /* Разстояние между бутоните */
    }

    .cc-btn {
        font-size: 12px;
        padding: 10px;
        width: 100%; /* Бутоните заемат цялата ширина */
    }

    .cookie-banner p {
        text-align: left; /* Текстът остава подравнен отляво */
        padding: 0px;
    }
}

/* Modal Styles */
.cookie-modal {
    display: none; /* Скрито по подразбиране */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.cookie-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

.cookie-modal h2 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #2c3e50;
}

.cookie-modal p {
    margin: 10px 0;
    font-size: 14px;
    color: #34495e;
}

.cookie-settings-options label {
    font-size: 14px;
    color: #34495e;
}

.cookie-modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}