.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
}

.toast {
    background: #fff;
    border-radius: 8px;
    padding: 14px 40px 14px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: pre-line;
    border-left: 4px solid #999;
    animation: toast-in 0.25s ease;
    color: #333;
}

.toast-success { border-left-color: #4CAF50; }
.toast-error { border-left-color: #e53935; }
.toast-info { border-left-color: #2c5530; }

.toast-close {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
    padding: 4px;
}

.toast-close:hover {
    color: #333;
}

.toast.toast-hide {
    animation: toast-out 0.25s ease forwards;
}

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

@keyframes toast-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(30px); }
}

@media (max-width: 480px) {
    .toast-container {
        left: 12px;
        right: 12px;
        max-width: none;
    }
}
