/* Beautified flash alerts – success, error, info */
.flash-alert {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.5;
  border: 1px solid transparent;
  position: relative;
}
.flash-alert-message { flex: 1; }
.flash-alert-icon { font-size: 22px; flex-shrink: 0; line-height: 1; }
.flash-alert-close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
  opacity: 0.7;
  flex-shrink: 0;
  color: inherit;
}
.flash-alert-close:hover { opacity: 1; }

.flash-alert-success {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #065f46;
  border-color: #a7f3d0;
}
.flash-alert-success .flash-alert-icon { color: #059669; }
.flash-alert-success .flash-alert-close { color: #047857; }

.flash-alert-danger {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  color: #991b1b;
  border-color: #fecaca;
}
.flash-alert-danger .flash-alert-icon { color: #dc2626; }
.flash-alert-danger .flash-alert-close { color: #b91c1c; }

.flash-alert-info {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #1e40af;
  border-color: #bfdbfe;
}
.flash-alert-info .flash-alert-icon { color: #2563eb; }
.flash-alert-info .flash-alert-close { color: #1d4ed8; }
