/* Simple Popup Styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.popup-overlay.show {
    display: flex;
}

.popup-container,
.success-popup {
    background: var(--card-bg, #ffffff);
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10001; /* Higher than overlay */
}

.success-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-color, #1e90ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.popup-icon i {
    font-size: 40px;
    color: white;
}

.popup-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color, #202124);
    margin-bottom: 10px;
}

.popup-message {
    font-size: 16px;
    color: var(--secondary-text, #232738);
    margin-bottom: 25px;
    line-height: 1.5;
}

.popup-button {
    background: var(--primary-color, #1e90ff);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.popup-button:hover {
    background: var(--secondary-color, #66b3ff);
}

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

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

