#consentBox {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 500px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 25px;
    z-index: 10000;
    transition: all 0.3s ease;
}

#consentBox.hide {
    display: none;
}

#consentBox img {
    max-width: 80px;
    margin-bottom: 15px;
}

#consentContent h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

#consentContent p {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.5;
}

.cookie-categories {
    margin: 5px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.cookie-categories.show {
    max-height: 300px;
}

.cookie-category {
    margin: 3px 0;
    padding: 3px;
    background: #f8f8f8;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 5px;
}

.cookie-category input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

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

.cookie-category small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-left: 30px;
}

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

.buttons button {
    flex: 1;
    min-width: 120px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.acceptAllButton {
    background: #28a745;
    color: white;
}

.acceptAllButton:hover {
    background: #218838;
}

.acceptSelectedButton {
    background: #007bff;
    color: white;
}

.acceptSelectedButton:hover {
    background: #0056b3;
}

.rejectButton {
    background: #6c757d;
    color: white;
}

.rejectButton:hover {
    background: #545b62;
}

.settingsButton {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.settingsButton:hover {
    background: #e2e6ea;
}

@media (max-width: 768px) {
    #consentBox {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 10px 10px 0 0;
    }

    .buttons button {
        flex-basis: 100%;
    }
}