/* Privacy Banner */
.privacy-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #e3f2fd;
    color: #1976d2;
    padding: 10px 20px;
    z-index: 1000;
    border-bottom: 1px solid #bbdefb;
    animation: slideDown 0.5s ease;
}

.privacy-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
}

.privacy-content i {
    font-size: 16px;
    color: #1976d2;
}

.privacy-content a {
    color: #1565c0;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

.privacy-close {
    background: none;
    border: none;
    color: #1976d2;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.privacy-close:hover {
    background: rgba(25, 118, 210, 0.1);
}

/* Privacy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.privacy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.privacy-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: scaleIn 0.3s ease;
    border: 1px solid #e8e8e8;
}

.privacy-modal-header {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e8e8e8;
}

.privacy-modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #34495e;
}

.privacy-modal-header i {
    color: #3498db;
}

.modal-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e8e8e8;
    color: #2c3e50;
}

.privacy-modal-body {
    padding: 2rem;
}

.privacy-section {
    margin-bottom: 2rem;
}

.privacy-section h3 {
    color: #34495e;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.privacy-section h3::before {
    content: "🔒";
    font-size: 1.1rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
}

.privacy-section li {
    padding: 0.5rem 0;
    color: #6c757d;
    position: relative;
    padding-left: 24px;
    line-height: 1.5;
}

.privacy-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Consent Checkbox */
.privacy-consent {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    color: #2c3e50;
}

.consent-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #3498db;
    border-radius: 6px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.consent-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.consent-checkbox:hover .checkmark {
    border-color: #2980b9;
    transform: scale(1.05);
}

/* Modal Footer */
.privacy-modal-footer {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
    border-radius: 0 0 16px 16px;
}

.privacy-modal-footer .btn {
    min-width: 140px;
}

/* Animations */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .privacy-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .privacy-modal-header {
        padding: 1.5rem;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .privacy-modal-body {
        padding: 1.5rem;
    }
    
    .privacy-modal-footer {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .privacy-modal-footer .btn {
        width: 100%;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
    
    .consent-checkbox {
        font-size: 0.9rem;
    }
}