/* Стили для затемнения фона */
#cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    display: none;
}

/* Стили для окна настроек */
#mcc-cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

#mcc-cookie-settings .mcc-modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

#mcc-cookie-settings h2 {
    margin-top: 0;
}

#mcc-cookie-settings form label {
    display: block;
    margin-bottom: 10px;
}

#mcc-cookie-settings button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    line-height: normal;
}

#mcc-cookie-settings button:hover {
    opacity: 0.9;
}

#mcc-cookie-settings input[type="checkbox"] {
    margin-right: 5px;
}

/* Стили для ссылки "Cookie-Einstellungen" */
#mcc-open-settings {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10001;
    background-color: #0073aa;
    color: #ffffff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
}

#mcc-open-settings:hover {
    opacity: 0.9;
}

/* Стили для баннера */
#mcc-cookie-banner {
    display: flex; /* Включаем флексбокс */
    flex-direction: column; /* Контент располагается по вертикали */
    justify-content: center; /* Центрируем по вертикали */
    align-items: center; /* Центрируем по горизонтали */
    text-align: center; /* Текст по центру */
    padding: 20px; /* Отступы внутри баннера */
    box-sizing: border-box; /* Учитываем padding */
}

#mcc-cookie-banner button {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    line-height: normal;
}

/* Адаптация для мобильных устройств */
@media screen and (max-width: 600px) {
    #mcc-cookie-banner {
        position: fixed; /* Баннер фиксирован */
        bottom: 0; /* Привязка к нижнему краю */
        left: 0;
        width: 100%; /* Полная ширина */
        font-size: 14px;
        background-color: #f5f5f5;
        z-index: 9999;
        padding: 10px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        box-sizing: border-box;
        display: flex; /* Включаем флексбокс */
        justify-content: center; /* Центрируем контент */
        align-items: center; /* Центрируем по горизонтали */
        text-align: center;
    }

    #mcc-cookie-banner button {
        width: 100%;
        margin-bottom: 10px;
        padding: 10px;
    }
}