/* ===== TOAST PROFESSIONAL STYLES ===== */ .toast { position: fixed; bottom: 28px; right: 28px; min-width: 360px; max-width: 450px; padding: 14px 18px; border-radius: 12px; backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1); animation: toastSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: 9999; overflow: hidden; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif; } @keyframes toastSlideIn { from { transform: translateX(480px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } /* SUCCESS - VIOLET */ .toast-success { background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.05) 100%); border-color: rgba(124, 58, 237, 0.3); color: #7c3aed; } .toast-success .toast-icon { color: #7c3aed; background: rgba(124, 58, 237, 0.15); border: 1px solid rgba(124, 58, 237, 0.4); } .toast-success .toast-progress { background: linear-gradient(90deg, #7c3aed, #a78bfa, transparent); } /* ERROR */ .toast-error { background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.04) 100%); border-color: rgba(239, 68, 68, 0.2); color: #dc2626; } .toast-error .toast-icon { color: #dc2626; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.25); } .toast-error .toast-progress { background: linear-gradient(90deg, #dc2626, #b91c1c, transparent); } /* WARNING */ .toast-warning { background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(217, 119, 6, 0.04) 100%); border-color: rgba(245, 158, 11, 0.2); color: #d97706; } .toast-warning .toast-icon { color: #d97706; background: rgba(245, 158, 11, 0.1); border: 1px solid rgba(245, 158, 11, 0.25); } .toast-warning .toast-progress { background: linear-gradient(90deg, #d97706, #b45309, transparent); } /* INFO */ .toast-info { background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(37, 99, 235, 0.04) 100%); border-color: rgba(59, 130, 246, 0.2); color: #2563eb; } .toast-info .toast-icon { color: #2563eb; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.25); } .toast-info .toast-progress { background: linear-gradient(90deg, #2563eb, #1d4ed8, transparent); } .toast-content { display: flex; align-items: center; gap: 12px; } .toast-icon { font-size: 18px; font-weight: 700; min-width: 32px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); } .toast:hover .toast-icon { transform: scale(1.08); } .toast-message { font-size: 14px; font-weight: 500; line-height: 1.5; flex: 1; letter-spacing: 0.1px; color: var(--text); } .toast-progress { position: absolute; bottom: 0; left: 0; height: 2px; animation: toastProgressBar linear forwards; } @keyframes toastProgressBar { from { width: 100%; } to { width: 0%; } } /* Responsive */ @media (max-width: 640px) { .toast { bottom: 20px; right: 20px; left: 20px; min-width: auto; max-width: none; } } @media (hover: none) { .toast { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); } .toast:hover .toast-icon { transform: none; } }