/* GDPR Cookie Consent Banner */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    animation: slideUp 0.5s ease-out;
}

.gdpr-banner.show {
    display: block;
}

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

.gdpr-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gdpr-banner-text {
    flex: 1;
    min-width: 300px;
}

.gdpr-banner-text h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gdpr-banner-text h4 i {
    font-size: 24px;
    color: #3b82f6;
}

.gdpr-banner-text p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.gdpr-banner-text a {
    color: #60a5fa;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.gdpr-banner-text a:hover {
    color: #93c5fd;
}

.gdpr-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.gdpr-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.gdpr-btn-accept {
    background: #3b82f6;
    color: #fff;
}

.gdpr-btn-accept:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.gdpr-btn-decline {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid #475569;
}

.gdpr-btn-decline:hover {
    background: #475569;
    color: #fff;
}

.gdpr-btn-settings {
    background: transparent;
    color: #cbd5e1;
    border: 1px solid #475569;
    padding: 12px 20px;
}

.gdpr-btn-settings:hover {
    background: #475569;
    color: #fff;
}

/* Settings Modal */
.gdpr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gdpr-modal.show {
    display: flex;
}

.gdpr-modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gdpr-modal-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gdpr-modal-header h3 {
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.gdpr-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.gdpr-modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.gdpr-modal-body {
    padding: 24px;
}

.gdpr-cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.gdpr-cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.gdpr-cookie-category h4 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.gdpr-cookie-category p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.gdpr-toggle {
    position: relative;
    width: 48px;
    height: 24px;
}

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

.gdpr-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

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

.gdpr-toggle input:checked + .gdpr-toggle-slider {
    background-color: #3b82f6;
}

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

.gdpr-toggle input:disabled + .gdpr-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.gdpr-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gdpr-banner-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .gdpr-banner-actions {
        width: 100%;
    }

    .gdpr-btn {
        flex: 1;
        text-align: center;
    }

    .gdpr-modal-content {
        margin: 10px;
    }
}
