/**
 * Gir Jungle Safari page — extends Conexi theme (style.css).
 * Scoped with body.page-safari where needed.
 */

/* -------------------------------------------------------------------------
   Forest permit notice (after inner-banner; keeps header/banner like other pages)
   ------------------------------------------------------------------------- */
body.page-safari .safari-notice-bar {
  background-color: #111111;
  color: rgba(255, 255, 255, 0.88);
  padding: 18px 0;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
}

body.page-safari .safari-notice-bar__text {
  margin: 0;
  text-align: center;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

body.page-safari .safari-notice-bar strong {
  color: #FFC000;
  font-weight: 600;
}

@media (max-width: 575px) {
  body.page-safari .safari-notice-bar {
    font-size: 13px;
    padding: 14px 0;
  }
}

/* -------------------------------------------------------------------------
   Lead: tariff + booking (book-ride-two)
   ------------------------------------------------------------------------- */
body.page-safari .page-safari-lead .safari-tariff-column .block-title {
  margin-bottom: 28px;
}

body.page-safari .page-safari-lead .safari-tariff-column > p {
  margin: 0 0 24px;
  color: #717171;
  font-size: 16px;
  line-height: 34px;
}

/* Stack prose in taxi-details block (theme zeros paragraph margins) */
body.page-safari .single-taxi-details-one .content-block > p {
  margin: 0 0 18px;
}

body.page-safari .single-taxi-details-one .content-block > p:last-of-type {
  margin-bottom: 0;
}

body.page-safari .page-safari-lead .safari-tariff-column hr.style-one {
  margin-top: 28px;
  margin-bottom: 28px;
}

/* Form alert (PHP redirect errors) */
body.page-safari .safari-form-alert {
  display: none;
  margin-bottom: 28px;
  padding: 16px 22px;
  border-radius: 33px;
  background-color: #fff8e6;
  border: 2px solid #FFC000;
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

body.page-safari .safari-form-alert.is-visible {
  display: block;
}

/* Safari booking: labels inside input-holder (match book-ride security field) */
body.page-safari .page-safari-lead .booking-form-two .input-holder label {
  display: block;
  margin-bottom: 12px;
  padding-left: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
}

body.page-safari .page-safari-lead .booking-form-two .input-holder label + input {
  margin-top: 0;
}

/* Number fields: match pill inputs, hide spinners (theme is text-field style) */
body.page-safari .page-safari-lead .booking-form-two input[type="number"] {
  -moz-appearance: textfield;
}

body.page-safari .page-safari-lead .booking-form-two input[type="number"]::-webkit-outer-spin-button,
body.page-safari .page-safari-lead .booking-form-two input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* How-to section on gray band */
body.page-safari .book-ride-two.thm-gray-bg > .container > p {
  margin: 0 0 22px;
  color: #717171;
  font-size: 16px;
  line-height: 34px;
}

/* Captcha row — same visual weight as book-ride */
body.page-safari .page-safari-lead .safari-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

body.page-safari .page-safari-lead .safari-captcha-row .safari-captcha-img {
  height: 50px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}

body.page-safari .page-safari-lead .safari-captcha-reload {
  border: none;
  background-color: #F3F3F3;
  color: #111111;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: all 0.3s ease;
}

body.page-safari .page-safari-lead .safari-captcha-reload:hover {
  background-color: #FFC000;
}

body.page-safari .page-safari-lead .safari-captcha-row .safari-captcha-input-grow {
  flex: 1 1 200px;
  min-width: 160px;
}

body.page-safari .page-safari-lead .safari-captcha-row .safari-captcha-input-grow .input-holder {
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   Safari date field — Flatpickr alt input matches booking-form-two inputs
   ------------------------------------------------------------------------- */
body.page-safari .page-safari-lead .booking-form-two .input-holder input.safari-flatpickr-alt {
  border: none;
  outline: none;
  width: 100%;
  background-color: #f3f3f3;
  height: 67px;
  border-radius: 33.5px;
  padding-left: 40px;
  padding-right: 50px;
  color: #717171;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

body.page-safari .page-safari-lead .booking-form-two .input-holder input.safari-flatpickr-alt:hover {
  background-color: #ececec;
}

body.page-safari .page-safari-lead .booking-form-two .input-holder input.safari-flatpickr-alt:focus {
  box-shadow: 0 0 0 2px rgba(255, 192, 0, 0.45);
}

body.page-safari .page-safari-lead .booking-form-two .input-holder input.safari-flatpickr-alt::placeholder {
  color: #717171;
}

/* Flatpickr popup — align with theme gold / black */
body.page-safari .flatpickr-calendar {
  box-shadow: 0 10px 40px rgba(17, 17, 17, 0.18);
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}

body.page-safari .flatpickr-current-month .flatpickr-monthDropdown-months,
body.page-safari .flatpickr-current-month .numInputWrapper input {
  font-weight: 600;
}

body.page-safari .flatpickr-day.selected,
body.page-safari .flatpickr-day.startRange,
body.page-safari .flatpickr-day.endRange {
  background: #ffc000;
  border-color: #ffc000;
  color: #111111;
}

body.page-safari .flatpickr-day.selected:hover,
body.page-safari .flatpickr-day.startRange:hover,
body.page-safari .flatpickr-day.endRange:hover {
  background: #e6ac00;
  border-color: #e6ac00;
  color: #111111;
}

body.page-safari .flatpickr-day.today {
  border-color: #ffc000;
}

body.page-safari .flatpickr-weekdays {
  background: #f3f3f3;
}

body.page-safari span.flatpickr-weekday {
  color: #111111;
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   Content tables (tariff, timing, categories)
   ------------------------------------------------------------------------- */
body.page-safari .safari-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 8px;
}

body.page-safari .safari-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
  color: #111111;
}

body.page-safari .safari-table th,
body.page-safari .safari-table td {
  border: 1px solid #e5e5e5;
  padding: 16px 18px;
  vertical-align: top;
  text-align: left;
}

body.page-safari .safari-table thead th {
  background-color: #111111;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

body.page-safari .safari-table tbody tr:nth-child(even) {
  background-color: #F9F9F9;
}

body.page-safari .safari-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

body.page-safari .safari-table .safari-table-highlight {
  background-color: #FFC000 !important;
  color: #111111;
  font-weight: 600;
  text-align: center;
}

body.page-safari .safari-table .safari-table-note {
  color: #111111;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
}

body.page-safari .safari-table .safari-text-accent {
  color: #a85a00;
  font-weight: 600;
}

/* Section intros (prose under block-title) */
body.page-safari .safari-section-intro {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
  color: #717171;
  font-size: 16px;
  line-height: 34px;
}

body.page-safari .safari-section-intro p {
  margin: 0 0 16px;
}

body.page-safari .safari-section-intro p:last-child {
  margin-bottom: 0;
}

/* How to book — numbered list matching theme typography */
body.page-safari .safari-steps-list {
  margin: 0;
  padding: 0 0 0 22px;
  color: #717171;
  font-size: 16px;
  line-height: 34px;
}

body.page-safari .safari-steps-list li {
  margin-bottom: 12px;
  padding-left: 8px;
}

body.page-safari .safari-steps-list a {
  color: #111111;
  font-weight: 600;
}

body.page-safari .safari-steps-list a:hover {
  color: #FFC000;
}

body.page-safari .safari-bullets {
  margin: 16px 0 0;
  padding: 0 0 0 22px;
  color: #717171;
  font-size: 16px;
  line-height: 34px;
}

body.page-safari .safari-bullets li {
  margin-bottom: 8px;
}

/* -------------------------------------------------------------------------
   Entry fees section — structured layout
   ------------------------------------------------------------------------- */
body.page-safari .safari-fees-section .safari-fees-lead {
  max-width: 800px;
  margin: 0 auto 36px;
  text-align: center;
  color: #717171;
  font-size: 16px;
  line-height: 34px;
}

body.page-safari .safari-fees-section .safari-fees-subtitle {
  margin: 48px 0 22px;
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  letter-spacing: -0.02em;
  padding-bottom: 12px;
  border-bottom: 2px solid #FFC000;
}

body.page-safari .safari-fees-section .safari-fees-lead + .safari-fees-subtitle {
  margin-top: 8px;
}

/* White panels around each fee table (on gray section) */
body.page-safari .safari-fees-panel {
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  box-shadow: 0 8px 32px rgba(17, 17, 17, 0.07);
  overflow: hidden;
}

body.page-safari .safari-fees-panel .safari-fees-table-wrap {
  margin-top: 0;
}

body.page-safari .safari-fees-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Fee data tables — alignment & hierarchy */
body.page-safari .safari-fees-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
  color: #111111;
}

body.page-safari .safari-fees-data-table thead th {
  background-color: #111111;
  color: #ffffff;
  font-weight: 600;
  padding: 16px 18px;
  text-align: center;
  border: 1px solid #2a2a2a;
  vertical-align: middle;
}

body.page-safari .safari-fees-data-table thead th.safari-fees-data-table__label-col {
  background-color: #1f1f1f;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 22%;
  min-width: 132px;
  text-align: left;
}

body.page-safari .safari-fees-data-table tbody th[scope="row"] {
  background-color: #f3f3f3;
  font-weight: 600;
  color: #111111;
  text-align: left;
  padding: 14px 18px;
  border: 1px solid #e5e5e5;
  width: 22%;
  min-width: 120px;
  vertical-align: top;
}

body.page-safari .safari-fees-data-table td {
  padding: 14px 18px;
  border: 1px solid #e5e5e5;
  vertical-align: top;
  color: #515151;
}

body.page-safari .safari-fees-data-table tbody tr:nth-child(even) td {
  background-color: #fafafa;
}

body.page-safari .safari-fees-data-table tbody tr:nth-child(even) th[scope="row"] {
  background-color: #eeeeee;
}

body.page-safari .safari-fees-data-table__amount {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #111111;
  white-space: nowrap;
  background-color: #fff9e6 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 192, 0, 0.45);
}

body.page-safari .safari-fees-data-table--extras td {
  text-align: left;
}

body.page-safari .safari-fees-data-table--extras thead th:first-child {
  width: 30%;
  min-width: 140px;
  text-align: left;
  padding-left: 22px;
}

body.page-safari .safari-fees-data-table--extras thead th:last-child {
  text-align: left;
  padding-left: 22px;
}

body.page-safari .safari-fees-data-table--extras tbody th[scope="row"] {
  color: #111111;
}

body.page-safari .safari-fees-data-table--categories thead th.safari-fees-data-table__label-col {
  text-align: left;
  padding-left: 22px;
  color: #ffffff;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}

body.page-safari .safari-fees-data-table--categories thead th:not(.safari-fees-data-table__label-col) {
  width: 39%;
}

/* Compare + categories: min width for horizontal scroll on small screens */
body.page-safari .safari-fees-data-table--compare,
body.page-safari .safari-fees-data-table--categories {
  min-width: 520px;
}

body.page-safari .safari-fees-data-table--extras {
  min-width: 400px;
}

body.page-safari .safari-fees-section .safari-category-footnote {
  margin-top: 28px;
  padding: 22px 26px;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  border-left: 4px solid #FFC000;
  font-size: 15px;
  line-height: 1.65;
  color: #111111;
}

body.page-safari .safari-fees-section .safari-category-footnote strong {
  color: #111111;
}

/* Closure single column */
body.page-safari .safari-closure-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #717171;
  font-size: 16px;
  line-height: 34px;
}

/* -------------------------------------------------------------------------
   General contact form captcha row (contact-form-style-one)
   ------------------------------------------------------------------------- */
body.page-safari .contact-form-style-one .safari-contact-captcha {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

body.page-safari .contact-form-style-one .safari-contact-captcha img {
  height: 48px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

body.page-safari .contact-form-style-one .safari-contact-captcha a {
  color: #FFC000;
  font-size: 20px;
  line-height: 1;
}

body.page-safari .contact-form-style-one .safari-contact-captcha a:hover {
  color: #111111;
}
