/**
 * Nova Septem - Udea actie-waarschuwing + uitlegpopup (Jansma Haule)
 * Huisstijl: groen #476930, room #FBF8F1, inkt #1B2416. Geen randlijnen.
 */

/* ---- De waarschuwingsmelding ---- */
.jh-udea-melding {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin: 0 0 18px;
  background: #fff7e6;
  border-radius: 12px;
  color: #6b4e12;
}

.jh-udea-melding--single {
  margin: 14px 0;
}

.jh-udea-melding__icoon {
  flex: 0 0 auto;
  display: inline-flex;
  color: #b8860b;
  margin-top: 1px;
}

.jh-udea-melding__tekst {
  line-height: 1.45;
  font-size: 14px;
}

.jh-udea-melding__link {
  color: #476930;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.jh-udea-melding__link:hover {
  color: #3a5726;
}

/* ---- De uitlegpopup ---- */
.jh-udea-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(27, 36, 22, 0.5);
  opacity: 0;
  transition: opacity .16s ease;
}
.jh-udea-modal.is-open {
  opacity: 1;
}

.jh-udea-modal__kaart {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(27, 36, 22, 0.28);
  transform: translateY(8px) scale(.98);
  transition: transform .16s ease;
}
.jh-udea-modal.is-open .jh-udea-modal__kaart {
  transform: translateY(0) scale(1);
}

.jh-udea-modal__sluit {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5f8f1;
  color: #1B2416;
  cursor: pointer;
  transition: background .15s ease;
}
.jh-udea-modal__sluit:hover {
  background: #eef3e8;
}

.jh-udea-modal__inhoud h3 {
  margin: 0 0 14px;
  padding-right: 40px;
  color: #1B2416;
  font-size: 20px;
}

.jh-udea-modal__inhoud p {
  margin: 0 0 12px;
  color: #3a4633;
  line-height: 1.55;
}

.jh-udea-modal__inhoud p:last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .jh-udea-modal__kaart {
    padding: 22px;
  }
}
