#privacy-consent-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.pcp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.pcp-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.pcp-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: #f8f8f8;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.pcp-header h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #333;
}
.pcp-body {
    padding: 1.5rem;
    flex-grow: 1;
}
.pcp-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
}
.pcp-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.pcp-actions button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-grow: 1;
    min-width: 150px;
}
.pcp-accept-all {
    background-color: #007bff;
    color: #fff;
}
.pcp-accept-all:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}
.pcp-manage-btn, .pcp-save-preferences {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
}
.pcp-manage-btn:hover, .pcp-save-preferences:hover {
    background-color: #e0e0e0;
    transform: translateY(-1px);
}
.pcp-cookie-category {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #eee;
}
.pcp-cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.pcp-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.pcp-category-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #444;
}
.pcp-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    background-color: #f8f8f8;
    text-align: center;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}
.pcp-privacy-link {
    color: #007bff;
    text-decoration: none;
    font-size: 0.85rem;
}
.pcp-privacy-link:hover {
    text-decoration: underline;
}
/* Toggle Switch */
.pcp-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}
.pcp-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.pcp-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}
.pcp-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
input:checked + .pcp-slider {
    background-color: #007bff;
}
input:focus + .pcp-slider {
    box-shadow: 0 0 1px #007bff;
}
input:checked + .pcp-slider:before {
    transform: translateX(24px);
}
input:disabled + .pcp-slider {
    background-color: #a0a0a0;
    cursor: not-allowed;
}
input:disabled + .pcp-slider:before {
    background-color: #e0e0e0;
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .pcp-content {
        width: 95%;
        margin: 1rem;
    }
    .pcp-header h3 {
        font-size: 1.4rem;
    }
    .pcp-body p {
        font-size: 0.9rem;
    }
    .pcp-actions button {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem;
    }
    .pcp-actions {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .pcp-content {
        border-radius: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
    }
    .pcp-header, .pcp-body, .pcp-footer {
        padding: 1rem;
    }
    .pcp-header h3 {
        font-size: 1.2rem;
    }
    .pcp-cookie-category {
        margin-bottom: 1rem;
    }
    .pcp-category-header h4 {
        font-size: 1rem;
    }
}