/* === Email Notifications === */

.email-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 350px;
    max-width: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

.email-notification-success {
    border-left: 4px solid var(--green);
}

.email-notification-error {
    border-left: 4px solid #e74c3c;
}

.email-notification-warning {
    border-left: 4px solid #f39c12;
}

.email-notification-hide {
    animation: slideOutRight 0.3s ease;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 15px;
    color: #333;
}

.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}

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

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Success Modal */
.email-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease;
}

.email-success-modal-content {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    animation: scaleIn 0.3s ease;
}

.modal-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.email-success-modal-content h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 15px;
}

.email-success-modal-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

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