#band-cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 200;
    width: 100%;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.1;
    background-color: #151515;
    color: #FFF;
    box-shadow: 0 -3px 3px 0 rgba(0, 0, 0, .15);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light mode styles */
[data-theme="light"] #band-cookies {
    background-color: #ffffff;
    color: #212529;
    box-shadow: 0 -3px 3px 0 rgba(0, 0, 0, 0.1);
    border-top: 1px solid #dee2e6;
}

/* Dark mode styles (default) */
[data-theme="dark"] #band-cookies,
html:not([data-theme]) #band-cookies {
    background-color: #151515;
    color: #FFF;
    box-shadow: 0 -3px 3px 0 rgba(0, 0, 0, .15);
}

#band-cookies p {
    margin: 0;
    padding: 0 50px
}

#band-cookies-info,
#band-cookies-ok {
    display: inline-block;
    font-weight: 700;
    text-decoration: underline;
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Light mode link colors */
[data-theme="light"] #band-cookies-info,
[data-theme="light"] #band-cookies-ok {
    color: #2196f3;
}

[data-theme="light"] #band-cookies-info:hover,
[data-theme="light"] #band-cookies-ok:hover {
    color: #1976d2;
}

/* Dark mode link colors */
[data-theme="dark"] #band-cookies-info,
[data-theme="dark"] #band-cookies-ok,
html:not([data-theme]) #band-cookies-info,
html:not([data-theme]) #band-cookies-ok {
    color: #F0FFAA;
}

[data-theme="dark"] #band-cookies-info:hover,
[data-theme="dark"] #band-cookies-ok:hover,
html:not([data-theme]) #band-cookies-info:hover,
html:not([data-theme]) #band-cookies-ok:hover {
    color: #ffffcc;
}

#band-cookies-close {
    height: 32px;
    width: 32px;
    padding: 6px;
    position: absolute;
    right: 12px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
        margin-top: -16px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Light mode close button */
[data-theme="light"] #band-cookies-close {
    background-color: #f8f9fa;
    color: #212529;
}

[data-theme="light"] #band-cookies-close:hover {
    background-color: #e9ecef;
}

/* Dark mode close button */
[data-theme="dark"] #band-cookies-close,
html:not([data-theme]) #band-cookies-close {
    background-color: #000;
    color: #fff;
}

[data-theme="dark"] #band-cookies-close:hover,
html:not([data-theme]) #band-cookies-close:hover {
    background-color: #333;

}

@media (max-width:768px) {
    #band-cookies p {
        padding: 15px 15px 0
    }
    #band-cookies-info,
    #band-cookies-ok {
        display: block;
        text-decoration: none;
        padding: 10px 5px;
        margin-top: 10px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    /* Light mode mobile buttons */
    [data-theme="light"] #band-cookies-info,
    [data-theme="light"] #band-cookies-ok {
        background-color: #f8f9fa;
        color: #2196f3;
    }
    
    [data-theme="light"] #band-cookies-info:hover,
    [data-theme="light"] #band-cookies-ok:hover {
        background-color: #e9ecef;
    }
    
    /* Dark mode mobile buttons */
    [data-theme="dark"] #band-cookies-info,
    [data-theme="dark"] #band-cookies-ok,
    html:not([data-theme]) #band-cookies-info,
    html:not([data-theme]) #band-cookies-ok {
        background-color: #2a2a2a;
        color: #F0FFAA;
    }
    
    [data-theme="dark"] #band-cookies-info:hover,
    [data-theme="dark"] #band-cookies-ok:hover,
    html:not([data-theme]) #band-cookies-info:hover,
    html:not([data-theme]) #band-cookies-ok:hover {
        background-color: #3a3a3a;
    }
    
    #band-cookies-close {
        left: 50%;
        margin-left: -16px;
        top: 0
    }
}