/* Popup Success Component */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    max-width: 300px;
    width: 90%;
}

.popup-overlay.show .popup-container {
    transform: scale(1);
}

.popup-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 40px;
    color: white;
    animation: scaleIn 0.5s ease 0.2s both;
}

.popup-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    animation: slideUp 0.5s ease 0.3s both;
}

.popup-message {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 25px;
    animation: slideUp 0.5s ease 0.4s both;
}

.popup-time {
    font-size: 24px;
    font-weight: bold;
    color: #1ec7e6;
    margin-bottom: 20px;
    animation: slideUp 0.5s ease 0.5s both;
}

.popup-button {
    background: linear-gradient(135deg, #1ec7e6, #0ea5e9);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideUp 0.5s ease 0.6s both;
}

.popup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 199, 230, 0.4);
}

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

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

/* Success specific styles */
.popup-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.popup-icon.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.popup-icon.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.popup-icon.info {
    background: linear-gradient(135deg, #1ec7e6, #0ea5e9);
}