/* Flash messages */
.flash {
  position: relative;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flash--notice {
  background-color: var(--color-success-50);
  color: var(--color-success-700);
  border: 1px solid var(--color-success-200);
}

.flash--alert {
  background-color: var(--color-error-50);
  color: var(--color-error-700);
  border: 1px solid var(--color-error-200);
}

.flash__close {
  background: none;
  border: none;
  color: currentColor;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  margin-left: 12px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.flash__close:hover {
  opacity: 1;
}

#flash-messages {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
  pointer-events: none;
}

#flash-messages .flash {
  pointer-events: auto;
  margin-bottom: 8px;
} 