/* Email Popup Styles */
.email-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.email-popup.show {
    opacity: 1;
    visibility: visible;
}

.email-popup .popup-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.email-popup.show .popup-content {
    transform: scale(1);
}

.email-popup .popup-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.email-popup.success .popup-icon {
    color: #28a745;
}

.email-popup.error .popup-icon {
    color: #dc3545;
}

.email-popup h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.email-popup p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.email-popup .popup-close-btn {
    background: #624ddf;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-popup .popup-close-btn:hover {
    background: #4e3ab3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(98, 77, 223, 0.3);
}

.email-popup.success .popup-close-btn {
    background: #28a745;
}

.email-popup.success .popup-close-btn:hover {
    background: #218838;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.email-popup.error .popup-close-btn {
    background: #dc3545;
}

.email-popup.error .popup-close-btn:hover {
    background: #c82333;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .email-popup .popup-content {
        padding: 30px 20px;
    }

    .email-popup .popup-icon {
        font-size: 50px;
    }

    .email-popup h3 {
        font-size: 20px;
    }

    .email-popup p {
        font-size: 14px;
    }
}