#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #fff;
    z-index: 99999;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
    font-family: Arial, sans-serif;
    font-size: 14px;
    display: none;
}

#cookie-banner.visible {
    display: block;
}

#cookie-banner .cookie-inner {
    max-width: 1100px;
    margin: 0 auto;
}

#cookie-banner .cookie-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #f1c40f;
}

#cookie-banner .cookie-text {
    margin-bottom: 15px;
    line-height: 1.5;
    color: #ccc;
}

#cookie-banner .cookie-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 18px;
}

#cookie-banner .cookie-category {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    user-select: none;
}

#cookie-banner .cookie-category input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: #f1c40f;
}

#cookie-banner .cookie-category input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

#cookie-banner .cookie-category label {
    cursor: pointer;
    color: #eee;
    font-size: 13px;
}

#cookie-banner .cookie-category.required label {
    cursor: default;
    color: #888;
}

#cookie-banner .cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

#cookie-banner .btn-cookies {
    padding: 9px 22px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

#cookie-banner .btn-accept-all {
    background: #f1c40f;
    color: #1a1a1a;
}

#cookie-banner .btn-accept-all:hover {
    background: #d4ac0d;
}

#cookie-banner .btn-accept-selected {
    background: #444;
    color: #fff;
}

#cookie-banner .btn-accept-selected:hover {
    background: #555;
}

#cookie-banner .btn-reject {
    background: transparent;
    color: #888;
    border: 1px solid #555;
}

#cookie-banner .btn-reject:hover {
    color: #ccc;
    border-color: #888;
}

@media (max-width: 600px) {
    #cookie-banner {
        padding: 15px;
    }

    #cookie-banner .cookie-categories {
        flex-direction: column;
        gap: 8px;
    }

    #cookie-banner .cookie-actions {
        flex-direction: column;
        align-items: stretch;
    }

    #cookie-banner .btn-cookies {
        text-align: center;
    }
}
