.gdpr-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 500px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 40px;
    z-index: 9999;
    animation: slideIn 0.4s ease-out;
}
*{
	font-family: "Inter", sans-serif !important;
}

/* ========================================
   COLOR VARIABLES - DYNAMIC FROM SETTINGS
   ======================================== */
:root {
    /* Colors set dynamically from WordPress options */
    --primary-color: #2563eb;
    --heading-color: #2563eb;
    --bg-color: #ffffff;
    --text-color: #000000;
    --confirm-color: #d97706;
    
    /* Static colors */
    --text-gray: #495463;
    --text-light-gray: #666;
    --text-dark-gray: #999;
    --bg-light: #f9fafb;
    --border-light: #e5e7eb;
}
/* ======================================== */

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gdpr-popup.hidden {
    display: none;
}

.gdpr-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--heading-color) !important;
}

.gdpr-content p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

.privacy-link {
    color: #000;
    text-decoration: underline;
}

.gdpr-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-customize, .btn-reject, .btn-accept {
    flex: 1;
    min-width: 120px;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid var(--primary-color) !important;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-customize {
    background: var(--bg-color) !important;
    color: var(--primary-color) !important;
}

.btn-customize:hover {
    opacity: 0.8;
}

.btn-reject {
    background: var(--bg-color) !important;
    color: var(--primary-color) !important;
}

.btn-reject:hover {
    opacity: 0.8;
}

.btn-accept {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.btn-accept:hover {
    opacity: 0.9;
}

.gdpr-customize {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    width: 90%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    display: none;
    animation: fadeIn 0.3s ease-out;
    height: auto;
    max-height: 90vh;
    overflow-y:scroll;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.gdpr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
}

.gdpr-overlay.active {
    display: block;
}

.gdpr-customize.active {
    display: flex;
    flex-direction: column;
}

.gdpr-customize-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: none;
    flex-shrink: 0;
}

.gdpr-customize-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--heading-color) !important;
}

.btn-close-custom {
    background: none;
    border: none;
    font-size: 32px;
    color: #666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.btn-close-custom:hover {
    color: #000;
}

.gdpr-customize-body {
    padding: 0 30px 20px;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.customize-intro {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 24px;
}

.manage-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--heading-color) !important;
}

.cookie-category {
    padding: 25px;
    border: 1px solid var(--border-light);
    border-bottom: none;
}

.cookie-category:last-child {
    border-bottom: 1px solid var(--border-light);
}


.category-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-title-row strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--heading-color) !important;
}

.always-active {
    font-size: 14px;
    font-weight: 600;
    color: var(--heading-color) !important;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: var(--primary-color) !important;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.category-desc {
    font-size: 14px;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.gdpr-customize-footer {
    padding: 20px 30px 24px;
    border-top: 0px solid var(--border-light);
    flex-shrink: 0;
}

.btn-confirm {
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--confirm-color) !important;
    color: #fff !important;
    margin-bottom: 10px;
}

.btn-confirm:hover {
    opacity: 0.9;
}

.btn-reject-outline {
    width: 100%;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid var(--primary-color) !important;
    background: var(--bg-color) !important;
    color: var(--text-color) !important;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.btn-reject-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

.footer-note {
    font-size: 12px;
    color: var(--text-dark-gray);
    margin: 10px 0 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .gdpr-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
        width: auto;
    }
    
    .gdpr-customize {
        width: 95%;
        height: auto;
        max-height: 95vh;
    }
    
    .gdpr-buttons {
        flex-direction: column;
    }
    
    .btn-customize, .btn-reject, .btn-accept {
        width: 100%;
    }
}
.customize-intro a{
	color: var(--heading-color) !important;
	text-decoration:none !important;
}
.gdpr-content p a{
	color: var(--heading-color) !important;
	text-decoration:none !important;
}
.category-desc a{
	color: var(--heading-color) !important;
	text-decoration:none !important;
}