/* Privacy Policy Modal Styles */
.privacy-policy-modal {
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    margin: 20px auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.privacy-policy-modal .modal-body {
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    padding: 0;
}

.privacy-policy-content {
    padding: 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Policy Header */
.policy-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-intro {
    background: rgba(2, 113, 252, 0.1);
    border: 1px solid rgba(2, 113, 252, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.policy-intro strong {
    color: #0271FC;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.policy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.policy-section h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 16px 0;
    padding-top: 8px;
}

.policy-section h4 {
    color: #0271FC;
    font-size: 16px;
    font-weight: 500;
    margin: 20px 0 12px 0;
}

.policy-section p {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
}

.policy-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.policy-section li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.policy-section li strong {
    color: #ffffff;
    font-weight: 500;
}

/* Links */
.privacy-policy-content a {
    color: #0271FC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.privacy-policy-content a:hover {
    color: #4A9BFF;
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.contact-info p {
    margin: 4px 0;
    font-size: 14px;
}

.contact-info strong {
    color: #ffffff;
}

/* Policy Footer */
.policy-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.policy-footer em {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-style: italic;
}

/* Modal Footer */
.privacy-policy-modal .modal-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.privacy-policy-modal .modal-close-btn {
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    min-width: 140px;
}

/* Scrollbar Styling */
.privacy-policy-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.privacy-policy-modal .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.privacy-policy-modal .modal-body::-webkit-scrollbar-thumb {
    background: rgba(2, 113, 252, 0.3);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.privacy-policy-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(2, 113, 252, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-policy-modal {
        width: 95%;
        max-height: 95vh;
        margin: 10px auto;
    }
    
    .privacy-policy-content {
        padding: 16px;
    }
    
    .policy-section h3 {
        font-size: 18px;
    }
    
    .policy-section h4 {
        font-size: 15px;
    }
    
    .policy-section ul {
        padding-left: 20px;
    }
    
    .privacy-policy-modal .modal-footer {
        padding: 16px;
    }
    
    .privacy-policy-modal .modal-close-btn {
        width: 100%;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .privacy-policy-modal {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .privacy-policy-content {
        padding: 12px;
    }
    
    .policy-section {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    
    .policy-intro {
        padding: 12px;
        font-size: 13px;
    }
    
    .contact-info {
        padding: 12px;
    }
}

/* Animation for opening */
.privacy-policy-modal.modal-entering {
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Focus styles for accessibility */
.privacy-policy-modal .modal-close:focus,
.privacy-policy-modal .modal-close-btn:focus {
    outline: 2px solid #0271FC;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .privacy-policy-modal .modal-header,
    .privacy-policy-modal .modal-footer {
        display: none;
    }
    
    .privacy-policy-modal {
        max-height: none;
        overflow: visible;
    }
    
    .privacy-policy-content {
        color: black;
    }
    
    .privacy-policy-content a {
        color: black;
        text-decoration: underline;
    }
} 