.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    z-index: 999;
    pointer-events: none;
}

.toast {
    min-width: 240px;
    max-width: min(360px, calc(100vw - 32px));
    background: #ffffff;
    color: var(--text, #283144);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 18px 40px rgba(14, 23, 42, 0.25);
    border-left: 4px solid var(--primary, #004a99);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast--visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast--success {
    border-left-color: #0b7a3c;
}

.toast--error {
    border-left-color: #b20000;
}

.toast--info {
    border-left-color: var(--primary, #004a99);
}

.toast__message {
    flex: 1;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.toast__close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 2px;
    font-size: 16px;
    line-height: 1;
}

.toast__close:focus-visible {
    outline: 2px solid var(--primary, #004a99);
    outline-offset: 2px;
}