.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
}

.toast {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border-radius: 6px;
    padding: 14px 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
    border-left: 5px solid;
}

.toast.close {
    animation: slideOut 0.3s ease forwards;
}

.toast .icon {
    font-size: 20px;
    margin-right: 12px;
}

.toast .content {
    flex: 1;
}

.toast h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
}

.toast p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.toast .close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-left: 8px;
}

/* Types */
.toast.success {
    border-color: #28a745;
}
.toast.error {
    border-color: #dc3545;
}
.toast.warning {
    border-color: #ffc107;
}
.toast.info {
    border-color: #0dcaf0;
}

/* Confirm */
.toast .actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
}

.toast .btn {
    padding: 5px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.toast .btn.yes {
    background: #28c76f;
    color: #fff;
}

.toast .btn.no {
    background: #6c757d;
    color: #fff;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}
