.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    width: 320px;
    max-width: calc(100vw - 2rem);
    pointer-events: none;
}

.toast-item {
    border-radius: .5rem;
    padding: .75rem .9rem .9rem;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    font-size: .875rem;
    animation: toast-slide-in .25s ease-out;
    pointer-events: auto;
}

.toast-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: .35rem;
    font-size: .9rem;
}

.toast-body {
    line-height: 1.3;
    word-wrap: break-word;
}

.btn-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.toast-success { background: linear-gradient(135deg,#198754,#157347); }
.toast-error   { background: linear-gradient(135deg,#dc3545,#bb2d3b); }
.toast-warning { background: linear-gradient(135deg,#ffc107,#e0a800); color:#222; }
.toast-info    { background: linear-gradient(135deg,#0d6efd,#0b5ed7); }

@keyframes toast-slide-in {
    from { transform: translateX(40px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}