.cookie-consent-container {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

.cookie-tab {
    display: inline-block;
    margin: 0 10px 10px 0;
    cursor: pointer;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12px;
}

.cookie-tab:hover {
    background-color: #f0f0f0;
}

.cookie-tab.active {
    background-color: #ddd;
}

.cookie-consent-summary {
    margin-bottom: 10px;
}

.cookie-category {
    font-weight: bold;
}

.cookie-consent-text,
.cookie-details-text {
    margin-bottom: 10px;
    line-height: 150%;
    font-size: 16px;
}

.cookie-consent-buttons {
    margin-top: 10px;
}

.cookie-consent-button {
    padding: 15px 40px;
    margin: 0 15px;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
}

.cookie-consent-button-allow {
    background-color: #4CAF50;
    color: #fff;
}

.cookie-consent-button-deny {
    /*background-color: #D32F2F;*/
    background-color: grey;
    color: #fff;
}

.cookie-consent-button-adjust {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: grey;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 9999; /* Ensure it's above other content */
}

.cookie-consent-close {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
}


@media screen and (max-width: 800px) {

    .cookie-consent-container {
/*        bottom: 20%;
        left: 5%;
        width: 90%;
        height: 60%;
        border-radius: 8px;*/
        background-color: #ffffff;
        border-radius: 8px;
        box-shadow: 0 32px 68px rgba(0,0,0,.3);
        box-sizing: border-box;
        color: #141414;
        font-family: sans-serif;
        font-size: 15px;
        height: auto;
        left: 50%;
        letter-spacing: .1px;
        line-height: 24px;
        max-height: calc(100% - 16px);
        overflow: hidden;
        position: fixed;
        text-align: initial;
        top: 50%;
        transform: translate(-50%, -50%);
        transition: all .5s ease;
        transition-property: width, max-width, top, bottom, left, opacity;
        width: calc(100% - 16px);
        z-index: 2147483631;
    }

    .cookie-consent-button {
        margin: 10px auto;
        border-radius: .25em;
        color: #ffffff;
        display: block;
        font-weight: 600;
        padding: 20px;
        text-align: center;
        user-select: none;
        width: 100%;    
        font-size: 16px;
    }

}

@media screen and (min-width: 801px) {

    .cookie-consent-container {    
        display: flex;
        top: 100%;
        transform: translate(-50%, -100%);
            box-shadow: 0 30px 70px rgba(0,0,0,.3);
        height: auto;
        max-height: 70vh;
        max-width: 100vw;
        min-width: 100vw;
        padding: 24px;
        transition-property: transform, opacity, top;
        width: 100vw;
            left: 50%;
            background-color: #ffffff;
        border-radius: 8px;
        box-sizing: border-box;
        color: #141414;
        font-family: sans-serif;
        font-size: 15px;
            letter-spacing: .1px;
        line-height: 24px;
        overflow: hidden;
        position: fixed;
        text-align: initial;transition: all .5s ease;
    }

    .cookie-consent-button {
        margin: 5px;
        border-radius: .25em;
        color: #ffffff;
        display: block;
        font-weight: 600;
        padding: 20px;
        text-align: center;
        user-select: none;    
        min-width: 160px;
        width: 160px;
        font-size: 16px;
        height: 60px;
    }

}