/* Rahalangy Transfers v1.2.0 – full-width red panel and bus-style booking form */
.rhp-transfer-section {
  direction: rtl;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 30px 0 64px !important;
  padding: 0 !important;
  box-sizing: border-box;
  font-family: 'Tajawal', Arial, sans-serif;
  color: #1f2937;
  overflow: visible;
}
.rhp-transfer-section,
.rhp-transfer-section * ,
.rhp-transfer-section *::before,
.rhp-transfer-section *::after {
  box-sizing: border-box;
}
.rhp-transfer-shell {
  position: relative;
  width: 100%;
  min-height: 440px;
  overflow: hidden;
  padding: clamp(30px, 4vw, 58px) clamp(18px, 4.5vw, 72px);
  border-radius: 0;
  color: #fff;
  background: linear-gradient(112deg, #8f191d 0%, #a51f23 48%, #47090b 100%);
  box-shadow: 0 18px 38px rgba(69, 10, 10, .12);
}
.rhp-transfer-shell::before,
.rhp-transfer-shell::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.rhp-transfer-shell::before {
  width: 430px;
  height: 430px;
  top: -285px;
  left: 8%;
}
.rhp-transfer-shell::after {
  width: 330px;
  height: 330px;
  bottom: -250px;
  right: 36%;
}
.rhp-transfer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

/* Right-side intro */
.rhp-transfer-copy {
  min-width: 0;
  text-align: right;
}
.rhp-transfer-badge {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 12px;
  border-radius: 6px;
  background: #fbbf24;
  color: #450a0a;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 900;
}
.rhp-transfer-copy h2 {
  margin: 0 0 15px;
  color: #fff;
  font-family: inherit;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.3;
}
.rhp-transfer-description {
  max-width: 590px;
  margin: 0 0 24px;
  color: #f3e9e9;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.95;
}
.rhp-transfer-benefits {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rhp-transfer-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.7;
}
.rhp-transfer-check {
  display: inline-flex;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fbbf24;
  color: #651010;
  font-size: 12px;
  font-weight: 900;
}

/* White booking form */
.rhp-transfer-form-card {
  width: 100%;
  max-width: 700px;
  min-width: 0;
  justify-self: start;
  padding: clamp(22px, 2.4vw, 34px);
  border-radius: 23px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 16px 38px rgba(0,0,0,.16);
}
.rhp-transfer-form-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #450a0a;
  font-family: inherit;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}
.rhp-transfer-bus {
  color: #dc2626;
  font-size: 23px;
}
.rhp-transfer-form {
  margin: 0;
}
.rhp-transfer-route-block {
  display: grid;
  gap: 13px;
  margin-bottom: 17px;
}
.rhp-transfer-route-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1px;
  color: #7f1d1d;
  font-size: 12px;
  font-weight: 900;
}
.rhp-transfer-route-heading i {
  color: #dc2626;
  font-size: 14px;
}
.rhp-transfer-route-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}
.rhp-transfer-field {
  min-width: 0;
  margin: 0;
}
.rhp-transfer-field[hidden],
.rhp-transfer-return-date-wrap[hidden],
.rhp-transfer-origin-pickup-wrap[hidden],
.rhp-transfer-destination-pickup-wrap[hidden] {
  display: none !important;
}
.rhp-transfer-field label {
  display: block;
  margin: 0 0 6px;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
.rhp-transfer-field input,
.rhp-transfer-field select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 47px;
  min-height: 47px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #d9e2ef;
  border-radius: 13px;
  outline: none;
  background: #f8fafc;
  color: #1f2937;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.rhp-transfer-field input::placeholder {
  color: #9ca3af;
  opacity: 1;
}
.rhp-transfer-field input:focus,
.rhp-transfer-field select:focus {
  border-color: #dc2626;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(220,38,38,.09);
}
.rhp-transfer-field select {
  cursor: pointer;
}
.rhp-transfer-field input[type="date"] {
  direction: ltr;
  text-align: left;
}
.rhp-transfer-travel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}
.rhp-transfer-passenger-control {
  display: grid;
  grid-template-columns: 42px minmax(40px, 1fr) 42px;
  gap: 7px;
  align-items: center;
  min-height: 47px;
  padding: 3px;
  border: 1px solid #d9e2ef;
  border-radius: 13px;
  background: #f8fafc;
}
.rhp-transfer-passenger-control input[type="number"] {
  width: 100%;
  height: 38px;
  min-height: 38px;
  padding: 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: center;
  direction: ltr;
  box-shadow: none;
  -moz-appearance: textfield;
}
.rhp-transfer-passenger-control input[type="number"]::-webkit-inner-spin-button,
.rhp-transfer-passenger-control input[type="number"]::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}
.rhp-transfer-passenger-step {
  display: inline-flex;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #dbe5f1;
  color: #26364a;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.rhp-transfer-passenger-step.is-plus {
  background: #f59e0b;
  color: #451a03;
}
.rhp-transfer-passenger-step:hover {
  background: #bfccd9;
}
.rhp-transfer-passenger-step.is-plus:hover {
  background: #fbbf24;
}
.rhp-transfer-return-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0 0 11px;
}
.rhp-transfer-return-option {
  min-width: 0;
  margin: 0;
}
.rhp-transfer-toggle {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}
.rhp-transfer-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.rhp-transfer-toggle-ui {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex: 0 0 38px;
  border-radius: 30px;
  background: #d1d5db;
  transition: background .2s ease;
}
.rhp-transfer-toggle-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.rhp-transfer-toggle input:checked + .rhp-transfer-toggle-ui {
  background: #b91c1c;
}
.rhp-transfer-toggle input:checked + .rhp-transfer-toggle-ui::after {
  transform: translateX(-16px);
}
.rhp-transfer-toggle input:focus-visible + .rhp-transfer-toggle-ui {
  outline: 2px solid #fbbf24;
  outline-offset: 3px;
}
.rhp-transfer-toggle small {
  color: #6b7280;
  font-size: 10px;
  font-weight: 500;
}
.rhp-transfer-return-date-wrap {
  margin: 0;
}
.rhp-transfer-vehicle-field {
  margin: 0 0 16px;
}
.rhp-transfer-submit {
  display: flex;
  width: 100%;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 5px 0 0;
  padding: 13px 16px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(90deg, #e3262b, #c91e24);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 8px 17px rgba(185,28,28,.19);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.rhp-transfer-submit:hover {
  transform: translateY(-1px);
  filter: brightness(.97);
  box-shadow: 0 11px 20px rgba(185,28,28,.23);
}
.rhp-transfer-whatsapp {
  font-size: 19px;
}
.rhp-transfer-form-note {
  margin: 9px 0 0;
  color: #858b96;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}
.rhp-transfers-admin-notice {
  padding: 12px 16px;
  border-right: 4px solid #b91c1c;
  background: #fff;
}

/* Tablet: keep the form wide and place the intro above it */
@media (max-width: 980px) {
  .rhp-transfer-shell {
    padding: 34px 24px;
  }
  .rhp-transfer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 760px;
  }
  .rhp-transfer-copy {
    text-align: right;
  }
  .rhp-transfer-description {
    max-width: none;
  }
  .rhp-transfer-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
  }
  .rhp-transfer-form-card {
    max-width: 760px;
    justify-self: stretch;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .rhp-transfer-section {
    margin-top: 20px !important;
    margin-bottom: 40px !important;
  }
  .rhp-transfer-shell {
    min-height: 0;
    padding: 27px 14px;
  }
  .rhp-transfer-content {
    gap: 22px;
  }
  .rhp-transfer-copy h2 {
    margin-bottom: 11px;
    font-size: 28px;
    line-height: 1.35;
  }
  .rhp-transfer-badge {
    margin-bottom: 10px;
    font-size: 11px;
  }
  .rhp-transfer-description {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.85;
  }
  .rhp-transfer-benefits {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .rhp-transfer-benefits li {
    font-size: 12px;
  }
  .rhp-transfer-form-card {
    padding: 21px 15px 18px;
    border-radius: 18px;
  }
  .rhp-transfer-form-card h3 {
    margin-bottom: 17px;
    font-size: 19px;
  }
  .rhp-transfer-route-pair,
  .rhp-transfer-travel-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .rhp-transfer-field label {
    font-size: 11px;
  }
  .rhp-transfer-field input,
  .rhp-transfer-field select {
    height: 45px;
    min-height: 45px;
    padding: 8px 9px;
    font-size: 12px;
  }
  .rhp-transfer-passenger-control {
    grid-template-columns: 34px minmax(28px, 1fr) 34px;
    gap: 3px;
    min-height: 45px;
  }
  .rhp-transfer-passenger-control input[type="number"] {
    height: 37px;
    min-height: 37px;
    padding: 2px;
  }
  .rhp-transfer-passenger-step {
    width: 34px;
    height: 36px;
  }
  .rhp-transfer-return-row {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-bottom: 10px;
  }
  .rhp-transfer-return-option {
    margin: 0;
  }
  .rhp-transfer-toggle {
    min-height: 36px;
  }
  .rhp-transfer-return-date-wrap {
    margin-bottom: 10px;
  }
  .rhp-transfer-submit {
    min-height: 52px;
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .rhp-transfer-route-pair,
  .rhp-transfer-travel-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rhp-transfer-section *,
  .rhp-transfer-section *::before,
  .rhp-transfer-section *::after {
    transition: none !important;
  }
}
