/* Add padding to body when cookie bar is visible */
body.cookie-bar-visible {
    padding-bottom: 80px !important;
}

body.cookie-bar-visible #footer,
body.cookie-bar-visible footer {
    margin-bottom: 60px !important;
}

body.cookie-bar-visible #wrapper {
    padding-bottom: 60px !important;
}

body.cookie-bar-visible main {
    margin-bottom: 60px !important;
}

/* Simple Cookie Consent Bar - Black & White */
#simple-cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000000;
    color: #ffffff;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    opacity: 1;
}

.cookie-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-bar-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
    min-width: 280px;
    color: #ffffff;
}

.cookie-bar-content a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    margin-left: 5px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.cookie-bar-content a:hover {
    color: #ffffff !important;
    opacity: 0.7;
    text-decoration: underline !important;
}

#accept-cookies {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#accept-cookies:hover {
    background-color: #cccccc;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body.cookie-bar-visible {
        padding-bottom: 120px !important;
    }

    body.cookie-bar-visible #footer,
    body.cookie-bar-visible footer {
        margin-bottom: 80px !important;
    }

    body.cookie-bar-visible #wrapper {
        padding-bottom: 80px !important;
    }

    body.cookie-bar-visible main {
        margin-bottom: 80px !important;
    }

    #simple-cookie-bar {
        padding: 15px;
    }

    .cookie-bar-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cookie-bar-content p {
        text-align: center;
        min-width: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .cookie-bar-content a {
        margin-left: 0;
        text-align: center;
    }

    #accept-cookies {
        width: 100%;
    }
}
