.toast {
  display: flex;
  align-items: center;
  background: #fff;
  border-left: 5px solid #4caf50;
  padding: 10px 15px;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 350px;
  position: relative;
  animation: slideIn 5s ease;
  font-family: sans-serif;
  transition: opacity 0.5s ease, transform 0.7s ease;
}

.toast.success { border-color: #4caf50; }
.toast.error   { border-color: #f44336; }
.toast.warning { border-color: #ff9800; }
.toast.info    { border-color: #2196f3; }

.toast-icon {
  font-size: 13px;
  margin-right: 8px;
}

.toast-content strong {
  font-size: 14px;
  display: block;
}

.toast-content span {
  font-size: 13px;
  color: #555;
}

.toast-close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 18px;
  color: #888;
}

@keyframes slideIn {
  from { transform: translateY(-30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.toast.hide {
  opacity: 0;
  transform: translateY(-20px);
}
