/* =======================================================
   HBC BOOKING FORM – CLEAN FINAL VERSION
   ======================================================= */

/* ---------- FONT IMPORT ---------- */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@600;700&display=swap');

/* ========== LAYOUT ========== */
.hbc-wrap {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.hbc-form {
  flex: 1 1 60%;
}

.hbc-summary {
  flex: 1 1 40%;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* ========== FORM ROWS ========== */
.hbc-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.hbc-row + .hbc-row {
  grid-template-columns: repeat(3, 1fr);
}

.hbc-col label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
}

.hbc-col input,
.hbc-col select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

/* ========== EXTRAS ========== */
.hbc-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 14px 0;
  align-items: center;
}

.hbc-extra {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}

/* fancy number inputs */
.hbc-hours {
  width: 42px !important;
  height: 26px !important;
  padding: 3px 6px !important;
  font-size: 13px !important;
  text-align: center;
  border: 1px solid #c5c5c5;
  border-radius: 6px;
  background: linear-gradient(145deg, #fdfdfd, #f4f4f4);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  font-family: "Exo 2", sans-serif !important;
}

.hbc-hours:hover {
  border-color: #7a0b18;
  box-shadow: 0 0 3px rgba(122, 11, 24, 0.2);
}

.hbc-hours:focus {
  border-color: #7a0b18;
  outline: none;
  box-shadow: 0 0 4px rgba(122, 11, 24, 0.35);
  background: #fff;
}

.hbc-hours::-webkit-inner-spin-button,
.hbc-hours::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.hbc-hours {
  -moz-appearance: textfield;
}

.hbc-extra {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}

/* ✅ اینجا بذار */
.hbc-time {
  font-weight: 600;
  color: #0d275b;
  width: 160px;
  min-width: 140px;
  font-size: 15px;
  text-align: right;
}

.hbc-info {
  flex: 1;
  padding-left: 10px;
}

/* ========== TERMS ========== */
.hbc-terms {
  display: block;
  margin: 10px 0;
  font-weight: 500;
}


/* ========== SUBMIT LINK ========== */
.hbc-submit {
  background: none;
  border: none;
  color: #7a0b18;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  padding: 8px 0;
  display: inline-block;
  text-decoration: underline;
}

.hbc-submit:hover {
  color: #a1121f;
}

/* ========== STATUS MESSAGES ========== */
.hbc-msg {
  margin-top: 10px;
}

.success-msg {
  color: #0a8a0a;
  font-weight: 600;
}

.error-msg {
  color: #b00020;
  font-weight: 600;
}

/* ========== SUMMARY ========== */
.hbc-summary h3 {
  font-family: "Exo 2", sans-serif !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  color: #0d275b !important;
  letter-spacing: 0.25px !important;
  text-transform: none !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid #eee !important;
  padding-bottom: 6px !important;
}

.hbc-summary dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  row-gap: 8px;
  column-gap: 14px;
  margin: 0 0 16px 0;
  font-size: 14.5px;
  color: #222;
}

.hbc-summary dt {
  font-weight: 600;
  color: #444;
}

.hbc-summary dd {
  margin: 0;
  font-weight: 500;
  color: #000;
}

.hbc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #ddd;
  margin-top: 12px;
  font-size: 15px;
}

.hbc-total strong {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.hbc-policy {
  color: #666;
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: 14px;
  background: #fafafa;
  border-radius: 6px;
  padding: 8px 10px;
}

/* ========== LABEL OVERRIDE ========== */
.hbc-form label,
.hbc-extras legend,
.hbc-summary dt {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0a1a3b !important;
  font-family: "Manrope", "Segoe UI", sans-serif !important;
  margin-bottom: 4px !important;
  display: inline-block !important;
}

.hbc-extra span {
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hbc-wrap {
    flex-direction: column;
  }
  .hbc-row {
    grid-template-columns: 1fr !important;
  }
  .hbc-extras {
    flex-direction: column;
    align-items: flex-start;
  }
  .hbc-summary {
    width: 100%;
  }
  .hbc-hours {
    width: 40px !important;
    margin-left: 8px;
  }
}
/* ---------- POLICY BOX ---------- */
.hbc-policy {
  font-family: "Exo 2", sans-serif;
  font-size: 12 px;
  line-height: 1.6;
  color: #333;
  background: #fdfdfd;
  border: 1.5px dotted #b4b4b4;
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 16px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.hbc-policy:hover {
  border-color: #7a0b18;
  background: #fff;
  box-shadow: 0 0 4px rgba(122, 11, 24, 0.15);
}
/* ---- force scale smaller (90%) for + / - buttons ---- */
.hbc-hours-wrapper button {
  transform: scale(0.9) !important;
  transform-origin: center !important;
  display: inline-block !important;
  transition: all 0.2s ease !important;
}
/* ---- FORCE shrink + / - buttons (90%) ---- */
.hbc-extras button {
  transform: scale(0.9) !important;
  transform-origin: center center !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  line-height: 1 !important;
}
/* ---- make + / - buttons flat (no rounded corners) ---- */
.hbc-extras button {
  border-radius: 0 !important;
}

/* ========== EVENT TITLE (Booking #11) ========== */
.hbc-title {
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  color: #0d275b !important;
  margin: 0 0 6px !important;
}

/* ---- Smaller, lighter policy text ---- */
.hbc-policy {
  font-weight: 300 !important;
  font-size: 10px !important;
  line-height: 1.6;
  color: #2b2b2b;
  text-align: justify;
}

.hbc-policy ul {
  margin: 0;
  padding-left: 18px;
  list-style-type: disc;
}

.hbc-policy li {
  margin-bottom: 2px;
}

/* restrict to auth forms only (login / register / reset) */
.hbc-login-form button,
.hbc-login-form input[type="submit"],
.hbc-register-form button,
.hbc-register-form input[type="submit"],
.hbc-reset-form button,
.hbc-reset-form input[type="submit"] {
  display: block !important;
  width: 100% !important;
  background-color: #003a8c !important; /* deep blue */
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 14px 0 !important;
  font-family: "Exo 2", sans-serif !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color 0.25s ease;
}

.hbc-login-form button:hover,
.hbc-register-form button:hover,
.hbc-reset-form button:hover,
.hbc-login-form input[type="submit"]:hover,
.hbc-register-form input[type="submit"]:hover,
.hbc-reset-form input[type="submit"]:hover {
  background-color: #002f73 !important;
  color: #fff !important;
}
/* Only affect HBC login/register/reset forms */
.hbc-login-form input[type="submit"],
.hbc-login-form button[type="submit"],
.hbc-register-form input[type="submit"],
.hbc-register-form button[type="submit"],
.hbc-reset-form input[type="submit"],
.hbc-reset-form button[type="submit"] {
  display: block !important;
  width: 100% !important;
  background-color: #003a8c !important; /* Blue */
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  font-family: "Exo 2", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 14px 0 !important;
  margin-top: 15px !important;
  text-align: center !important;
  text-transform: none !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease-in-out;
}

.hbc-login-form input[type="submit"]:hover,
.hbc-register-form input[type="submit"]:hover,
.hbc-reset-form input[type="submit"]:hover,
.hbc-login-form button[type="submit"]:hover,
.hbc-register-form button[type="submit"]:hover,
.hbc-reset-form button[type="submit"]:hover {
  background-color: #002f73 !important;
  color: #fff !important;
}

/* ---------- TERMS & CONDITIONS CUSTOM STYLING ---------- */
.hbc-terms-full {
  font-size: 18px !important;
  font-weight: 300 !important;
}

.hbc-terms-full label {
  display: block !important;
  margin-bottom: 11px !important;
  line-height: 1.9 !important;
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #222 !important;
  text-align: justify !important;
}
