/* Modern Notification System */
.modern-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.modern-notification-content {
    display: flex;
    align-items: center;
    padding: 16px 20px 16px 44px; /* Extra left padding for close button */
    gap: 12px;
}

.modern-notification i {
    font-size: 18px;
    flex-shrink: 0;
}

.modern-notification-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.modern-notification-close {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0.7;
    transition: all 0.2s ease;
    z-index: 1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.modern-notification-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.2);
}

/* Success notifications */
.modern-notification-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Error notifications */
.modern-notification-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* Warning notifications */
.modern-notification-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* Info notifications */
.modern-notification-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modern-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
    }
    
    .modern-notification-content {
        padding: 14px 16px 14px 40px; /* Adjusted for mobile */
    }
    
    .modern-notification-message {
        font-size: 13px;
    }
} 