Spaces:
Running
Running
| .toast-container { | |
| position: fixed; | |
| bottom: 2rem; | |
| right: 2rem; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.75rem; | |
| z-index: 9999; | |
| pointer-events: none; | |
| } | |
| .toast { | |
| pointer-events: auto; | |
| background: var(--bg-card); | |
| color: var(--text-primary); | |
| padding: 1rem 1.25rem; | |
| border-radius: var(--radius-md); | |
| border: 1px solid var(--border-subtle); | |
| box-shadow: var(--shadow-lg); | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| font-size: 0.9rem; | |
| font-weight: 500; | |
| min-width: 250px; | |
| max-width: 400px; | |
| animation-duration: 0.3s; | |
| } | |
| .toast-success { | |
| border-left: 4px solid var(--success); | |
| } | |
| .toast-error { | |
| border-left: 4px solid #ff7675; | |
| } | |
| .toast-info { | |
| border-left: 4px solid var(--accent-primary); | |
| } | |
| .toast-close { | |
| margin-left: auto; | |
| background: none; | |
| border: none; | |
| color: var(--text-muted); | |
| font-size: 1.25rem; | |
| line-height: 1; | |
| cursor: pointer; | |
| padding: 0 0.25rem; | |
| transition: color var(--transition-fast); | |
| } | |
| .toast-close:hover { | |
| color: var(--text-primary); | |
| } | |
| @media (max-width: 600px) { | |
| .toast-container { | |
| bottom: 1rem; | |
| left: 1rem; | |
| right: 1rem; | |
| align-items: center; | |
| } | |
| .toast { | |
| width: 100%; | |
| max-width: 100%; | |
| } | |
| } |