.privacy-consent-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.privacy-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}
.privacy-consent-box {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 1001;
    overflow: hidden;
    color: #333;
    animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.privacy-consent-banner, .privacy-consent-settings {
    padding: 25px;
}
.privacy-consent-title {
    font-size: 1.8em;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}
.privacy-consent-description {
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    color: #555;
}
.privacy-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.privacy-consent-button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.privacy-consent-accept-all {
    background-color: #4CAF50;
    color: white;
}
.privacy-consent-accept-all:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}
.privacy-consent-reject-all {
    background-color: #f44336;
    color: white;
}
.privacy-consent-reject-all:hover {
    background-color: #da190b;
    transform: translateY(-1px);
}
.privacy-consent-settings-btn, .privacy-consent-save-preferences {
    background-color: #007bff;
    color: white;
}
.privacy-consent-settings-btn:hover, .privacy-consent-save-preferences:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}
.privacy-consent-back-btn {
    background-color: #6c757d;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.8em;
}
.privacy-consent-back-btn:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
}
.privacy-consent-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.privacy-consent-settings-title {
    font-size: 1.5em;
    color: #2c3e50;
    margin: 0;
}
.privacy-consent-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.privacy-consent-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.privacy-consent-category-header h4 {
    margin: 0;
    font-size: 1.1em;
    color: #34495e;
}
.privacy-consent-category p {
    font-size: 0.85em;
    line-height: 1.5;
    color: #666;
}
.privacy-consent-status {
    font-size: 0.8em;
    font-weight: 600;
    color: #4CAF50;
    background-color: #e8f5e9;
    padding: 4px 8px;
    border-radius: 4px;
}
.privacy-consent-toggle {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
}
.privacy-consent-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.privacy-consent-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 25px;
}
.privacy-consent-slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
.privacy-consent-toggle input:checked + .privacy-consent-slider {
    background-color: #4CAF50;
}
.privacy-consent-toggle input:focus + .privacy-consent-slider {
    box-shadow: 0 0 1px #4CAF50;
}
.privacy-consent-toggle input:checked + .privacy-consent-slider:before {
    transform: translateX(20px);
}
@media (max-width: 600px) {
    .privacy-consent-box {
        max-width: 95%;
        margin: 10px;
    }
    .privacy-consent-banner, .privacy-consent-settings {
        padding: 20px;
    }
    .privacy-consent-title {
        font-size: 1.5em;
    }
    .privacy-consent-description {
        font-size: 0.9em;
    }
    .privacy-consent-actions {
        flex-direction: column;
    }
    .privacy-consent-button {
        width: 100%;
        margin-bottom: 10px;
    }
    .privacy-consent-settings-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .privacy-consent-settings-title {
        margin-bottom: 10px;
    }
}
@media (min-width: 601px) and (max-width: 900px) {
    .privacy-consent-box {
        max-width: 600px;
    }
    .privacy-consent-actions {
        justify-content: space-between;
    }
    .privacy-consent-button {
        flex: 1;
        max-width: calc(33% - 7px);
    }
}