
/* Custom Popup Styles */
.custom-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    animation: fadeIn 0.3s ease-in-out;
}

.custom-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-in-out;
}

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

.popup-title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.popup-close:hover {
    color: #333;
}

.popup-content {
    padding: 20px;
}

.popup-content p {
    margin: 0;
    line-height: 1.6;
    color: #666;
    font-size: 16px;
}

.popup-footer {
    padding: 0 20px 20px;
    text-align: center;
}

.popup-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-button:hover {
    background: #005a87;
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to { 
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .custom-popup {
        width: 95%;
        margin: 20px;
    }
    
    .popup-title {
        font-size: 20px;
    }
    
    .popup-content p {
        font-size: 14px;
    }
}
