.toast-container {
    position: fixed;
    top: calc(var(--nav-height) + var(--space-md));
    right: var(--space-md);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
    max-width: 380px;
    width: calc(100% - var(--space-md) * 2);
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-off-white);
    box-shadow: var(--shadow-hover);
    pointer-events: auto;
    opacity: 0;
    transform: translateX(30px) scale(0.96);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    cursor: pointer;
}

.toast.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.toast.exiting {
    opacity: 0;
    transform: translateX(30px) scale(0.96);
}

.toast-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-top: 1px;
}

.toast-info .toast-icon {
    background: var(--color-primary-10);
    color: var(--color-primary-1);
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-warning);
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--color-error);
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-success);
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: var(--weight-semibold);
    color: var(--color-navy);
    line-height: 1.3;
}

.toast-message {
    font-size: var(--text-xs);
    color: var(--color-slate);
    line-height: 1.5;
    margin-top: 2px;
}

.toast-close {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    color: var(--color-slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast), color var(--transition-fast);
    padding: 0;
    margin-top: 1px;
}

.toast-close:hover {
    background: var(--color-navy-07);
    color: var(--color-navy);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transition: width linear;
}

.toast-info .toast-progress { background: var(--color-primary-1); }
.toast-warning .toast-progress { background: var(--color-warning); }
.toast-error .toast-progress { background: var(--color-error); }
.toast-success .toast-progress { background: var(--color-success); }

.toast {
    position: relative;
    overflow: hidden;
}
