/* GDPR Modal Styles */
.gdpr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.gdpr-modal-content {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 100vh;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0;
}

.gdpr-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    position: relative;
}

.gdpr-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.gdpr-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s;
}

.gdpr-modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.gdpr-modal-body {
    padding: 1.5rem;
}

.gdpr-modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.gdpr-categories {
    margin: 1.5rem 0;
}

.gdpr-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.gdpr-category-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.gdpr-category-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

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

.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: .4s;
    border-radius: 24px;
}

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

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

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

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.gdpr-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

.gdpr-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.gdpr-modal-actions .btn {
    min-width: 120px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gdpr-modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .gdpr-category {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .gdpr-category-info {
        flex: 1;
    }
    
    .gdpr-category-info h4 {
        font-size: 1rem;
        margin: 0;
    }
    
    .gdpr-category-info p {
        font-size: 0.8rem;
    }
    
    .gdpr-toggle {
        align-self: center;
    }
    
    .gdpr-modal-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .gdpr-modal-actions .btn {
        width: auto;
        flex: 1;
        min-width: auto;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .gdpr-modal-body {
        padding: 1rem;
    }
    
    .gdpr-modal-header {
        padding: 1rem;
    }
    
    .gdpr-modal-footer {
        padding: 1rem;
    }
}