#sk-cookie-banner,
#sk-cookie-settings {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    color: #222222;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    padding: 20px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 1.5;
}

#sk-cookie-banner[hidden],
#sk-cookie-settings[hidden] {
    display: none !important;
}

#sk-cookie-banner h2,
#sk-cookie-settings h2 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

#sk-cookie-banner p,
#sk-cookie-settings p {
    margin: 8px 0;
}

.sk-cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.sk-cookie-buttons button {
    border: 1px solid #999999;
    border-radius: 5px;
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
    background: #eeeeee;
    color: #222222;
}

.sk-cookie-buttons button:hover {
    opacity: 0.85;
}

#sk-cookie-accept {
    background: #333333;
    color: #ffffff;
    border-color: #333333;
}

.sk-cookie-category {
    border-top: 1px solid #dddddd;
    padding: 12px 0;
}

.sk-cookie-category:first-of-type {
    border-top: 0;
}

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

.sk-cookie-category small {
    display: block;
    margin-top: 4px;
    color: #555555;
}

.sk-cookie-category input {
    margin-right: 8px;
}

.sk-cookie-required {
    opacity: 0.7;
}

#sk-cookie-manage {
    cursor: pointer;
}

@media (max-width: 600px) {
    #sk-cookie-banner,
    #sk-cookie-settings {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }

    .sk-cookie-buttons {
        flex-direction: column;
    }

    .sk-cookie-buttons button {
        width: 100%;
    }
}

/* =========================================================
   Footer légal - compatible thèmes FluxBB / Mercury
   ========================================================= */

#sk-cookie-footer-link {
    margin: 18px auto 10px;
    padding: 12px 16px;
    max-width: 900px;
    box-sizing: border-box;

    text-align: center;
    font-size: 12px;
    line-height: 1.8;

    color: #777;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

#sk-cookie-footer-link a {
    display: inline-block;
    margin: 0 5px;

    color: #666;
    text-decoration: none;
    font-weight: 600;

    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}

#sk-cookie-footer-link a:hover {
    color: #222;
    text-decoration: none;
}

#sk-cookie-footer-link #sk-cookie-manage {
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.05);
}

#sk-cookie-footer-link #sk-cookie-manage:hover {
    background: rgba(0, 0, 0, 0.10);
}

/* Mobile */
@media (max-width: 600px) {
    #sk-cookie-footer-link {
        margin: 14px 8px 8px;
        padding: 10px;
        font-size: 12px;
    }

    #sk-cookie-footer-link a {
        margin: 2px 4px;
    }
}

