.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    max-width: 350px;
    animation: toast-in 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-base);
}

.toast-success {
    background: #f0fdf4;
    color: #166534;
    border-left: 3px solid #16a34a;
}

.toast-error {
    background: #fef2f2;
    color: #991b1b;
    border-left: 3px solid #dc2626;
}

.toast-warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 3px solid #f59e0b;
}

.toast-info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 3px solid #3b82f6;
}

.toast-close {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.5;
    background: none;
    border: none;
    color: inherit;
    font-size: 16px;
}

.toast-close:hover {
    opacity: 1;
}

.toast-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.toast-link {
    color: inherit;
    font-weight: 500;
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9em;
    opacity: 0.9;
}

.toast-link:hover {
    opacity: 1;
    text-decoration: none;
}

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