.modal-backdrop.show {
    z-index: 99 !important;
}
.cookie-container {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    /* max-width: clamp(300px, 50vw, 900px); */
    text-align: left;
    background: #f5f6fa;
    color: #2f3640;
    padding: 32px;
    box-shadow: 0 -2px 16px rgba(47, 54, 64, 0.39);
    transition: 400ms;
    z-index: 100;

    .coocky-icon {
        color: #e84118;
    }
    
    @media screen and (max-width: 567px) {
        padding: 16px;
    }

    .modal-dialog {
        height: calc(100vh - 30px);
        display: flex;
        justify-content: center;
        align-items: center;
        order: hidden;
        .modal-body {
            overflow-y: auto;
        }
    }
    .main-banner-text {
        font-size: small;
        display: -webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        @media screen and (max-width: 567px) {
            -webkit-line-clamp:3;
        }
    }
    .learn-more-button {
        padding: 0;
        background-color: transparent;
        color: #0b5b34;
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}

.cookie-container-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    
    
    @media screen and (max-width: 767px) {
        flex-wrap: wrap;
    }
}


.cookie-container.active {
    bottom: 0;
}

.cookie-container a {
    color: #f5f6fa;
}

.cookie-btn {
    background: #e84118;
    border: 0;
    color: #f5f6fa;
    padding: 12px 48px;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    &.primary-btn {
        background-color: #0b5b34;
    }

    @media screen and (max-width: 567px) {
        padding: 8px 20px;
        font-size: 16px;
    }
}
.settings-icon { 
    color: #0b5b34;
}

.settings-icon {
    background: none;
    border: none;
    color: #0b5b34;
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
}

/* Update modal z-index to appear above backdrop */
#cookieSettingsModal {
    z-index: 99999;
    overflow: hidden;
}

.modal-backdrop {
    z-index: 99998;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-right: 10px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-settings .form-group {
    margin: 15px 0;
    display: flex;
    align-items: center;
}