/* Toast / Flash messages */
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: var(--shadow-md);
}

.toast-success {
  background: var(--success-bg);
  border-color: #bbf7d0;
  color: var(--success-text);
}

.toast-warning {
  background: var(--warning-bg);
  border-color: #fde68a;
  color: var(--warning-text);
}

.toast-danger {
  background: var(--danger-bg);
  border-color: #fca5a5;
  color: var(--danger-text);
}

.toast-info {
  background: var(--info-bg);
  border-color: #bfdbfe;
  color: var(--info-text);
}

.toast-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.toast-title {
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.3;
}

.toast-msg {
  font-size: 13px;
  margin-top: 2px;
  opacity: .85;
}

/* Flash container */
.flash-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
  width: calc(100vw - 32px);
}

@media (max-width: 767px) {
  .flash-container {
    top: auto;
    bottom: 80px;
    left: 16px;
    right: 16px;
  }
}
