/* mqm-custom.css */
#mqm-modal {
  display: none;
  font-family: Arial, sans-serif;
  padding: 10px;
}

.mqm-step {
  display: none;
}
.mqm-step:first-child {
  display: block;
}

#mqm-modal input[type="text"],
#mqm-modal input[type="email"],
#mqm-modal input[type="tel"],
#mqm-modal input[type="date"] {
  width: 100%;
  padding: 8px;
  margin-top: 6px;
  margin-bottom: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

#mqm-modal .mqm-next,
#mqm-modal .mqm-back,
#mqm-modal button[type="submit"] {
  background-color: #234882;
  color: #fff;
  border: 1px solid #234882;
  padding: 10px 16px;
  margin: 6px 4px 0 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

#mqm-modal .mqm-next:hover,
#mqm-modal .mqm-back:hover,
#mqm-modal button[type="submit"]:hover {
  background-color: #fff;
  color: #234882;
  border: 1px solid #234882;
}

.mqm-error {
  border: 1px solid red !important;
  background-color: #ffe6e6 !important;
}

.mqm-error-text {
  color: red;
  font-size: 13px;
  margin-top: -8px;
  margin-bottom: 12px;
}

.ui-dialog .ui-dialog-titlebar-close {
  position: absolute;
  right: 0.5em;
  top: 50%;
  margin-top: -10px;
  padding: 0.2em;
  height: 20px;
  width: 20px;
}

/* ===== Sticky Bar ===== */
#mqm-sticky-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* increase top padding to reserve space for the error line */
  padding: 24px 10px 10px;  
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 9999;
  box-sizing: border-box;
}

/* error line sits in the reserved top-padding and never moves the rest */
#mqm-sticky-error {
  position: absolute;
  top: 4px;              /* inside that extra 24px */
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: red;
  line-height: 16px;
  pointer-events: none;
}

/* Field wrapper to stack input + location */
.mqm-sticky-field {
  display: flex;
  flex-direction: column;
}

/* ZIP inputs */
#mqm-sticky-menu .mqm-sticky-field input {
  width: 120px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/* Location text under inputs */
.sticky-location-display {
  display: block;
  min-height: 1.2em;        
  font-style: italic;
  color: #555;
  font-size: 13px;
  margin-top: 4px;
}

/* Button (unchanged) */
#mqm-sticky-menu button {
  flex: 0 0 auto !important;
  width: 130px;
  padding: 8px 12px;
  background-color: #234882;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#mqm-sticky-menu button:hover {
  background: #fff;
  color: #234882;
  border: 1px solid #234882;
}