#privacy-consent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.consent-modal-content {
    background: linear-gradient(135deg, #f0f8ff, #e6f2ff);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: 90%;
    width: 500px;
    color: #333;
    overflow: hidden;
    animation: fadeIn 0.3s ease-out;
    position: relative;
}
.consent-banner-initial, .consent-settings-panel {
    padding: 25px;
}
.consent-banner-initial p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #444;
}
.consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
.consent-btn {
    flex-grow: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.accept-all-btn {
    background-color: #007bff;
    color: #fff;
}
.accept-all-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}
.reject-all-btn, .settings-btn, .save-preferences-btn, .back-btn {
    background-color: #e9ecef;
    color: #333;
    border: 1px solid #ced4da;
}
.reject-all-btn:hover, .settings-btn:hover, .save-preferences-btn:hover, .back-btn:hover {
    background-color: #dee2e6;
    transform: translateY(-1px);
}
.privacy-link {
    display: block;
    text-align: center;
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    margin-top: 10px;
}
.privacy-link:hover {
    text-decoration: underline;
}
.consent-settings-panel h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #222;
    text-align: center;
}
.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.category-header h4 {
    font-size: 16px;
    color: #333;
    margin: 0;
}
.cookie-category p {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-top: 5px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #007bff;
}
input:focus + .slider {
    box-shadow: 0 0 1px #007bff;
}
input:checked + .slider:before {
    transform: translateX(20px);
}
input:disabled + .slider {
    background-color: #a0a0a0;
    cursor: not-allowed;
}
input:disabled + .slider:before {
    background-color: #f0f0f0;
}
.consent-settings-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}
.consent-settings-actions .consent-btn {
    flex-grow: 1;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .consent-modal-content {
        max-width: 95%;
        margin: 20px;
    }
    .consent-banner-initial, .consent-settings-panel {
        padding: 20px;
    }
    .consent-actions, .consent-settings-actions {
        flex-direction: column;
    }
    .consent-btn {
        width: 100%;
    }
}