/* ======================================================================
   MotoPress Hotel Booking – Nordic Horn
   Scoped, clean, iframe-safe
   ====================================================================== */

input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #a00100 !important;
  color: #fff !important;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color .25s ease, transform .15s ease;
}

/* HOVER */
input[type="submit"]:hover {
  background-color: #2e8b57 !important;
}

/* ACTIVE (klik-effect) */
input[type="submit"]:active {
  transform: scale(0.98);
}

/* FOCUS (toetsenbord / accessibility) */
input[type="submit"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(46,139,87,.35);
}

/* ------------------------------------------------------
   BASE RESET (MotoPress only)
------------------------------------------------------ */

.mphb-wrapper {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial;
  color: #2a343b;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
}

/* remove MotoPress separators */
.mphb-divider,
.mphb-wrapper hr {
  display: none;
}

/* spacing between blocks */
.mphb-wrapper > * + * {
  margin-top: 20px;
}

/* ------------------------------------------------------
   FORM ELEMENTS
------------------------------------------------------ */

.mphb-wrapper input,
.mphb-wrapper select {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  padding: 12px 14px;
  font-size: 15px;
  background: #fff;
}

.mphb-wrapper input:focus,
.mphb-wrapper select:focus {
  outline: none;
  border-color: #a00100;
  box-shadow: 0 0 0 2px rgba(160,1,0,.18);
}

/* ------------------------------------------------------
   DATEPICKER FIX
------------------------------------------------------ */

.ui-datepicker {
  z-index: 9999 !important;
}

/* ------------------------------------------------------
   BUTTONS (Search / Book / Continue)
------------------------------------------------------ */

/* MotoPress gebruikt meerdere button-types */
.mphb-button,
.mphb-wrapper button,
.mphb-wrapper input[type="submit"],
.mphb-wrapper .button {
  appearance: none;
  background: #a00100; /* rood */
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .2s ease, transform .1s ease;
}

/* hover */
.mphb-button:hover,
.mphb-wrapper button:hover,
.mphb-wrapper input[type="submit"]:hover,
.mphb-wrapper .button:hover {
  background: #2e8b57; /* groen */
}

/* active */
.mphb-button:active,
.mphb-wrapper button:active,
.mphb-wrapper input[type="submit"]:active {
  transform: translateY(1px);
}

/* ------------------------------------------------------
   AVAILABILITY SEARCH (iframe context)
------------------------------------------------------ */

body:not(.isSearchResultsPage) .mphb-wrapper {
  background: #fff;
  padding: 24px 24px 28px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}

/* zorg dat alles zichtbaar is */
body:not(.isSearchResultsPage) .mphb-wrapper,
body:not(.isSearchResultsPage) .mphb_sc_search_form {
  overflow: visible;
}

/* ------------------------------------------------------
   SEARCH RESULTS PAGE
------------------------------------------------------ */

body.isSearchResultsPage .mphb-room-type {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 32px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.mphb-room-type-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.mphb-price {
  font-weight: 600;
  color: #1a1a1a;
}

/* ------------------------------------------------------
   MOBILE
------------------------------------------------------ */

@media (max-width: 768px) {
  body:not(.isSearchResultsPage) .mphb-wrapper {
    padding: 20px 18px 24px;
    border-radius: 14px;
  }

  .mphb-button,
  .mphb-wrapper input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   FORCE MOTOPRESS SEARCH BUTTON STYLE
   ========================================= */

.mphb-wrapper input[type="submit"].button {
  background-color: #a00100 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  cursor: pointer;
}

.mphb-wrapper input[type="submit"].button:hover {
  background-color: #2e8b57 !important;
}
