/* Form Submission Success & Error Popups */

.form-success-popup,
.form-error-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideIn 0.4s ease-out;
    max-width: 400px;
}

@media (max-width: 768px) {
    .form-success-popup,
    .form-error-popup {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

.form-success-popup.closing,
.form-error-popup.closing {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(450px);
        opacity: 0;
    }
}

.form-success-popup .popup-content {
    background: linear-gradient(135deg, #047857 0%, #10B981 100%);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.2);
    color: white;
}

.form-error-popup .popup-content {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.2);
    color: white;
}

.popup-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}

.popup-icon.error {
    background: rgba(255, 255, 255, 0.2);
}

.popup-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.popup-message {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.popup-close-btn {
    width: 100%;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 6px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.popup-close-btn:active {
    transform: translateY(0);
}
