/* mew widget */

#mews-booking-widget {
  font-family: 'Roboto', Arial, Verdana, Helvetica;
  width: fit-content;
  margin: 10px auto;
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

#mews-booking-form {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 15px;
    align-items: end;
    width: fit-content;
}

#mews-booking-widget .mews-field {
    display: flex;
    flex-direction: column;
}

#mews-booking-widget label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #fff;
  background: #999;
  font-family: 'Bebas', 'Roboto', Arial, Verdana, Helvetica;
  letter-spacing: 1px;
  border-radius: 4px;
  text-align: center;
}

#mews-booking-widget input, #mews-booking-widget select {
  width: 100%;
  height: 38px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 0 14px;
  box-sizing: border-box;
  font-size: 18px;
  background: #fff;
  font-family: 'Bebas', 'Roboto', Arial, Verdana, Helvetica;
}

#mews-adults, #mews-children {
  min-width: 100px;
}

#mews-booking-widget input:focus, #mews-booking-widget select:focus {
  outline: none;
  border-color: #99bd00;
}

/* Submit button styling */
.mews-button-wrap {
    width: auto;
}

#mews-submit-btn, .mews-submit-btn {
  font-family: 'Bebas', 'Roboto', Arial, Verdana, Helvetica;
  font-size: 18px;
  line-height: 38px;
  letter-spacing: 3px;
  background: rgba(48, 48, 50, 0.9);
  border-radius: 4px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  width: 100%;
  max-width: 250px;
  height: 38px;
  border: none;
  color: #99BD00;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
  padding: 0 1rem;
}

#mews-submit-btn:hover {
    color: #ffffff;
}

#mews-error {
    margin-top: 12px;
    color: #c10000;
    font-size: 13px;
    display: none;
}

@media (max-width: 991px) {
    #mews-booking-form {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width: 640px) {
    #mews-booking-form {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    #mews-adults,
    #mews-children {
        max-width: 100%;
    }
}
