/* Modal Overlay */
.privacy-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

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

/* Modal Container */
.privacy-modal {
    background: white;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal Header */
.privacy-modal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #007bff;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.privacy-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.privacy-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Modal Body */
.privacy-modal-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(90vh - 150px);
    color: #333;
}

.privacy-modal-body h3 {
    color: #1a1a1a;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
    border-left: 4px solid #007bff;
    padding-left: 15px;
}

.privacy-modal-body h3:first-child {
    margin-top: 0;
}

.privacy-modal-body p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.privacy-modal-body ul {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-modal-body li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.privacy-modal-body strong {
    color: #1a1a1a;
    font-weight: 600;
}

.privacy-section {
    margin-bottom: 30px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.last-updated {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-style: italic;
    color: #666;
    margin-top: 30px;
    border: 1px solid #e0e0e0;
}

.divider {
    border: 0;
    border-top: 2px solid #e0e0e0;
    margin: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-modal {
        max-width: 95%;
        margin: 20px auto;
    }

    .privacy-modal-header {
        padding: 20px;
    }

    .privacy-modal-header h2 {
        font-size: 20px;
    }

    .privacy-modal-body {
        padding: 20px;
        max-height: calc(90vh - 120px);
    }

    .privacy-modal-body h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .privacy-modal-overlay {
        padding: 10px;
    }

    .privacy-modal-body {
        padding: 15px;
    }
}
