#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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.privacy-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.privacy-consent-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    position: relative;
    z-index: 1001;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.privacy-consent-content, .privacy-consent-settings {
    padding: 25px;
    text-align: center;
    overflow-y: auto;
}
.privacy-consent-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}
.privacy-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.privacy-consent-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-grow: 1;
    min-width: 120px;
}
.privacy-consent-btn.accept-all {
    background-color: #4CAF50;
    color: #fff;
}
.privacy-consent-btn.accept-all:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}
.privacy-consent-btn.manage-settings {
    background-color: #007bff;
    color: #fff;
}
.privacy-consent-btn.manage-settings:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
.privacy-consent-btn.reject-all {
    background-color: #dc3545;
    color: #fff;
}
.privacy-consent-btn.reject-all:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}
.privacy-consent-btn.save-preferences {
    background-color: #28a745;
    color: #fff;
    width: 100%;
    margin-top: 20px;
}
.privacy-consent-btn.save-preferences:hover {
    background-color: #218838;
    transform: translateY(-2px);
}
.privacy-consent-settings h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}
.privacy-consent-settings p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}
.privacy-consent-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    text-align: left;
    gap: 15px;
}
.privacy-consent-group h4 {
    font-size: 16px;
    color: #333;
    margin-top: 0;
    margin-bottom: 5px;
}
.privacy-consent-group p {
    font-size: 13px;
    color: #777;
    margin-bottom: 0;
}
.privacy-consent-switch {
    position: relative;
    display: inline-block;
    width: 45px;
    height: 25px;
    min-width: 45px;
    margin-top: 3px;
}
.privacy-consent-switch 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: .4s;
    border-radius: 25px;
}
.privacy-consent-slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .privacy-consent-slider {
    background-color: #28a745;
}
input:focus + .privacy-consent-slider {
    box-shadow: 0 0 1px #28a745;
}
input:checked + .privacy-consent-slider:before {
    transform: translateX(20px);
}
input:disabled + .privacy-consent-slider {
    background-color: #a0a0a0;
    cursor: not-allowed;
}
input:disabled + .privacy-consent-slider:before {
    background-color: #e0e0e0;
}
.privacy-consent-policy-link {
    display: block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}
.privacy-consent-policy-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-consent-box {
        width: 95%;
        margin: 10px;
    }
    .privacy-consent-content, .privacy-consent-settings {
        padding: 20px;
    }
    .privacy-consent-content p {
        font-size: 15px;
    }
    .privacy-consent-btn {
        font-size: 14px;
        padding: 10px 15px;
        flex-basis: calc(50% - 5px);
    }
    .privacy-consent-actions {
        flex-direction: row;
    }
    .privacy-consent-group {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .privacy-consent-group div {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .privacy-consent-box {
        max-width: none;
        width: 100%;
        height: 100%;
        border-radius: 0;
        margin: 0;
    }
    .privacy-consent-content, .privacy-consent-settings {
        padding: 15px;
    }
    .privacy-consent-btn {
        flex-basis: 100%;
    }
}