/* TREND Postcodemanager: basis popup + formulier styling */

.trend-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.trend-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}

.trend-popup__dialog {
  position: relative;
  max-width: 560px;
  width: calc(100% - 32px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
  padding: 24px 24px 28px;
  z-index: 1;
}

.trend-popup__close {
  position: absolute;
  top: 8px; right: 10px;
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.hs-popup-content { text-align: center; }
.hs-logo { max-height: 56px; margin-bottom: 12px; }
.hs-title { margin: 6px 0 4px; font-size: 22px; letter-spacing: .2px; }
.hs-subtitle { margin: 0 0 14px; color: #444; }

.hs-postcode-form { display: flex; gap: 8px; justify-content: center; }
.hs-postcode-input {
  max-width: 160px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1px;
}
.hs-order-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  background: #111;
  color: #fff;
}
.hs-order-btn:disabled{opacity:.65; cursor: not-allowed;}

.hs-postcode-error {
  margin-top: 10px;
  color: #c00;
  font-size: 14px;
}

/* A11y: respecteer voorkeuren */
@media (prefers-reduced-motion: reduce) {
  .trend-popup__dialog { transition: none !important; }
}
