/* Flash messages float just under the navigation as a slim toast-style bar,
   tinted by type with a leading status dot. */

.flash-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% - 32px);
  max-width: 720px;
  margin: 16px auto 0;
  padding: 11px 12px 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.flash-banner::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-wash);
}

.flash-banner.flash-alert {
  border-color: #f5c2c2;
  background: #fff8f8;
  color: var(--danger-ink);
}

.flash-banner.flash-alert::before {
  background: var(--danger);
  box-shadow: 0 0 0 4px var(--danger-wash);
}

.flash-message {
  flex: 1;
}

.flash-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: inherit;
  opacity: 0.55;
}

.flash-close:hover {
  opacity: 1;
  background: rgba(10, 16, 32, 0.05);
}

.email-confirmation-banner::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-wash);
}

.email-confirmation-banner form {
  flex: none;
}
