/* ============================================================
   Banner
   Pre-submit validation summary on review: amber when there are
   issues to fix, teal when everything checks out.
   ============================================================ */

.banner {
  display: flex;
  gap: 12px;
  padding: 15px 16px;
  border-radius: var(--r-lg);
  margin-bottom: 22px;
}

.banner__title {
  font-size: 14px;
  font-weight: 400;
}

/* ---------- Warning ---------- */

.banner--warn {
  background: rgba(224, 164, 88, .08);
  border: 1px solid rgba(224, 164, 88, .35);
}

.banner--warn .banner__title {
  color: var(--warn);
}

/* ---------- OK ---------- */

.banner--ok {
  background: rgba(20, 184, 166, .08);
  border: 1px solid rgba(20, 184, 166, .35);
  align-items: center;
  gap: 11px;
}

.banner--ok .banner__title {
  color: var(--accent-lt2);
}

.ok-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(20, 184, 166, .16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Issues ---------- */

.issue-list {
  margin: 8px 0 0;
  padding-left: 2px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.issue {
  font-size: 13px;
  color: #d9c3a4;
  display: flex;
  gap: 8px;
}

.issue__bullet {
  color: var(--warn);
}

/* Jumps back to the step that owns the problem */
.issue__link {
  background: none;
  border: none;
  color: #d9c3a4;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(224, 164, 88, .4);
}

.issue__link:hover {
  color: #fff;
}
