.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10850;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

.toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 58px;
    padding: 14px 42px 14px 14px;
    overflow: hidden;
    color: #111827;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #115baa;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    opacity: 0;
    transform: translateX(18px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: auto;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-success { border-left-color: #6fbe44; }
.toast-error { border-left-color: #dc2626; }
.toast-info { border-left-color: #115baa; }
.toast-warning { border-left-color: #d97706; }

.toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    color: #fff;
    background: #115baa;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.toast-success .toast-icon { background: #6fbe44; }
.toast-error .toast-icon { background: #dc2626; }
.toast-warning .toast-icon { background: #d97706; }

.toast-title {
    margin-bottom: 2px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
}

.toast-message {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
}

.toast-close-button {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    color: #9ca3af;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.toast-close-button:hover {
    color: #374151;
}
