/* booking-ecoSystem css */
.booking-ecoSystem-container {
  position: fixed;
  inset: 0;
  height: 100%;
  width: 100%;
  z-index: 999999999999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* overlay just behind the content, not fullscreen */
.booking-ecoSystem-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  pointer-events: none; /* ensures content stays clickable */
}

.booking-ecoSystem-wrapper {
  position: relative;
  display: inline-block; /* only take content size */
  z-index: 20;
  /* padding: 0 150px; */
  width: 467px;
}

.booking-ecoSystem-main {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 10px 14px;

  border: 1px solid #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

  font-family: sans-serif;
}

.tb-es-header {
  display: flex;
  flex-direction: column;

  margin-bottom: 24px;
  padding: 12px 0px;
  border-bottom: 1px solid #e5e7eb;
}

.tb-es-title {
  font-size: 20px;
  color: #060606;
  font-weight: 600;
}

.tb-es-desc {
  font-size: 0.8rem; /* ~16px */
  color: #333;
  line-height: 1.6;
  max-width: 600px;
  text-align: start;
  opacity: 0.85;
  font-weight: 400;
  margin-top: 8px;
  font-family: sans-serif;
}

.tb-es-close-btn {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 30px;
  height: 30px;
  background: black;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background 0.2s ease-in-out;
}

.tb-es-close-btn:hover {
  background: #222;
}

.tb-es-price-summary {
  width: 100%;
  padding-bottom: 6px;
}

.tb-es-prcie-calculater {
  width: 100%;
  max-height: 220px; /* adjust based on design */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin; /* for Firefox */
  scrollbar-color: #d1d5db #f3f4f6; /* thumb & track colors */
}

/* For WebKit browsers (Chrome, Edge, Safari) */
.tb-es-prcie-calculater::-webkit-scrollbar {
  width: 6px;
}

.tb-es-prcie-calculater::-webkit-scrollbar-track {
  background: #f3f4f6; /* light gray background */
  border-radius: 10px;
}

.tb-es-prcie-calculater::-webkit-scrollbar-thumb {
  background: #d1d5db; /* medium gray scrollbar */
  border-radius: 10px;
}

.tb-es-prcie-calculater::-webkit-scrollbar-thumb:hover {
  background: #9ca3af; /* darker on hover */
}

.tb-es-date-conatiner {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 14px;
}

/* CSS (all classnames start with tb-es-) */
.tb-es-date-wrapper {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
}

.tb-es-date-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #111827; /* dark text */
  font-weight: 600;
}

/* field container positions the icon */
.tb-es-date-field-layout {
  position: relative;
  width: 100%;
  display: flex;
}

/* input styles */
.tb-es-date-input input {
  width: 100%;
  padding: 14px 25px 14px 16px;
  border-radius: 8px;
  border: 1.5px solid #ffa986;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
  font-size: 16px;
  color: #0f172a;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* placeholder styling */
.tb-es-date-input input::placeholder {
  color: #9aa6b2;
  font-weight: 600;
}



/* disabled state */
.tb-es-date-input input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #fafafa;
}

.tb-es-selected-date-section {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin: 10px 0px;
}

.tb-es-selected-date-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tb-es-selected-date-label {
  font-weight: 700;
  color: #000;
  font-size: 16px;
}

.tb-es-selected-date-value {
  font-weight: 700;
  color: #111;
  font-size: 16px;
}

.tb-es-selected-date-btn {
  background: none;
  border: none;
  color: #ff7f47;
  font-weight: 500;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.2s ease-in-out;
}

.tb-es-selected-date-btn:hover {
  color: #ff7f47;
}

@media (max-width: 640px) {
  .booking-ecoSystem-container {
    /* keep container full screen so overlay and sheet align */
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* align sheet to bottom */

    z-index: 999999999999999;
  }

  .booking-ecoSystem-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
    pointer-events: auto; /* allow tapping overlay to close if needed */
  }

  .booking-ecoSystem-wrapper {
    width: 100%;
    max-width: 720px;
    display: block;
    z-index: 20;
  }

  .booking-ecoSystem-main {
    /* bottom-sheet visual */
    width: 100%;
    border-radius: 16px 16px 0px 0px; /* rounded top corners like screenshot */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
      'Open Sans', sans-serif;

    /* make the sheet use only the space needed but scroll internally if content is tall */
    max-height: calc(100vh - 88px); /* leave some space above sheet */
    overflow: hidden; /* container hides overflow, inner content scrolls */
    display: flex;
    flex-direction: column;
  }

  .tb-es-close-btn {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    z-index: 30;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .tb-es-date-input input {
    padding: 12px 12px 12px 12px;
    font-size: 15px;
  }
}

.tb-es-button-secondary {
  background-color: white;
  color: #4a5568;
  border: 1px solid #cbd5e0;
}

.tb-es-button-secondary:hover {
  background-color: #f7fafc;
  border-color: #a0aec0;
}

/* Card styles */
.tb-es-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.tb-es-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
}

/* Section divider */
.tb-es-divider {
  height: 1px;
  background-color: #e2e8f0;
  margin: 16px 0;
}

/* DateSelector Component CSS */
.tb-es-date-selector {
  margin-bottom: 1.5rem;
}

.tb-es-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.tb-es-icon {
  color: #6b7280;
  margin-right: 0.5rem;
}

.tb-es-title {
  font-size: 1.25rem;
  font-weight: 500;
}

.tb-es-container {
  background-color: #fff7ed;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}

.tb-es-flex-col {
  display: flex;
  align-items: center;
  gap: 20px;
}

.tb-es-gap {
  gap: 1rem;
}

.tb-es-label {
  color: #4b5563;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.tb-es-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin-right: 0.25rem;
}

.tb-es-dot-blue {
  background-color: #ff7f47;
}

.tb-es-dot-red {
  background-color: #1c352f;
}

.tb-es-relative {
  position: relative;
}

.tb-es-date-field {
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  padding: 0.2rem 0.5rem;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
}

.tb-es-date-field-icon {
  color: #9ca3af;
  font-size: 12px;
  margin-left: 4px;
}

.tb-es-duration-box {
  display: flex;

  justify-content: end;
  align-items: center;
  padding-top: 10px;
}

.tb-es-duration-label {
  color: #4b5563;
  font-size: 12px;
  margin-right: 5px;
}

.tb-es-duration-value {
  font-size: 12px;
  font-weight: 600;
  color: #ff7f47;
  margin-right: 2px;
}

.tb-es-duration-unit {
  color: #4b5563;
  font-size: 12px;
}

.tb-es-discount {
  font-size: 0.75rem;
  color: #059669;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* Calendar Component CSS */
.tb-es-calendar {
  position: absolute;
  z-index: 10;
  margin-top: 0.25rem;
  padding: 0.75rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

.tb-es-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tb-es-calendar-nav {
  padding: 0.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  border: none;
}

.tb-es-calendar-nav:hover {
  background-color: #f3f4f6;
}

.tb-es-calendar-title {
  font-weight: 500;
}

.tb-es-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.tb-es-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.tb-es-day {
  height: 2rem;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
}

.tb-es-day-check-in {
  background-color: #ff7f47;
  color: white;
}

.tb-es-day-check-out {
  background-color: #1c352f;
  color: white;
}

.tb-es-day-in-range {
  background-color: #ffedd5;
}

.tb-es-day:hover:not(.tb-es-day-check-in):not(.tb-es-day-check-out):not(
    .tb-es-day-in-range
  ) {
  background-color: #f3f4f6;
}

.tb-es-price-summary-title {
  font-weight: 500;
  color: #333;
  font-size: 16px;
  margin-bottom: 10px;
  font-family: sans-serif;
}

.tb-es-vehicle-info {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.tb-es-check-icon {
  color: #ff7f47;
  margin-right: 8px;
}

.tb-es-vehicle-type {
  font-weight: 500;
}

.tb-es-room-tabs {
  display: flex;
  flex-wrap: wrap;
}

.tb-es-room-tab {
  border: 1px solid #ff7f47;
  border-radius: 4px;
  padding: 4px 12px;
  margin-right: 4px;
  font-size: 12px;
  transition: all 0.3s ease;
  color: #ff7f47;
  background-color: #ffedd5;
  margin-top: 4px;
}

.tb-es-room-tab-active {
  border-color: #ff7f47;
  background-color: #ff7f47;
  color: white;
}

.tb-es-breakup-title {
  font-weight: 500;
  margin-bottom: 12px;
  color: #4b5563;
  font-size: 14px;
}

.tb-es-price-breakdown {
  margin-bottom: 10px;
}

.tb-es-room-price {
  display: flex;

  margin-bottom: 0px;
  flex-direction: column;
  gap: 5px;
}

.tb-es-room-price-border {
  padding-bottom: 0px;
  border-bottom: 1px solid #f3f4f6;
}

.tb-es-room-info {
  display: flex;
  flex-direction: column;
}

.tb-es-room-title {
  color: #4b5563;
  font-size: 12px;
}

.tb-es-occupancy-tag {
  font-size: 10px;
  background-color: #ffedd5;
  color: #ff7f47;
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-block;
  width: fit-content;
  margin-top: 4px;
}

.tb-es-room-cost {
  display: flex;
  justify-content: space-between;
}

.tb-es-rate-calculation {
  color: #6b7280;
  font-size: 12px;
}

.tb-es-room-price {
  font-weight: 500;
  font-size: 12px;
}

.tb-es-price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tb-es-package-price {
  font-weight: 500;
  color: #4b5563;
  font-size: 14px;
}

.tb-es-tax-row {
  color: #6b7280;
  font-size: 14px;
}

.tb-es-grand-total {
  font-weight: 700;
  font-size: 14px;
  border-top: 1px solid #d1d5db;
  padding-top: 10px;
  margin-top: 10px;
}

.tb-es-disclaimer {
  margin-top: 16px;
  font-size: 12px;
  color: #6b7280;
}

/* Room Selector Custom CSS */

.tb-es-passenger-container {
  margin-bottom: 10px;
}

.tb-es-date-input input.tb-es-date-error {
  border-color: #e63946;
  background-color: #ffe6e6;
}
.tb-es-date-error-text {
  color: #e63946;
  font-size: 12px;
  margin-top: 5px;
  line-height: 20px;
  font-family: sans-serif;
}

.tb-es-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
}

.tb-es-title {
  display: flex;
  align-items: center;
}

.tb-es-title-icon {
  margin-right: 8px;
  color: #6b7280;
  font-size: 1rem;
}

.tb-es-title-text {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.tb-es-add-room-btn {
  color: #ff7f47;
  display: flex;
  align-items: center;
  background: none;
  cursor: pointer;
  font-size: 15px;
  border-radius: 4px;
  transition: background-color 0.2s;
  border: none;
}

.tb-es-add-icon {
  margin-right: 4px;
}

.tb-es-room-card {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-top: 1px solid #f3f4f6;
  padding-top: 4px;
}

.tb-es-room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tb-es-room-number {
  font-weight: 700;
  font-size: 14px;
}

.tb-es-remove-room-btn {
  color: #000000;
  font-size: 13px;
  display: flex;
  align-items: center;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-right: 5px;
  border: none;
}

.tb-es-remove-icon {
  margin-left: 4px;
}

.tb-es-room-grid {
  display: flex;
  gap: 10px;

  justify-content: space-between;
}

.tb-es-passenger-box {
  margin-bottom: 4px;
  display: flex;
  gap: 10px;
}

.tb-es-passenger-label {
  color: #4b5563;
  margin-bottom: 8px;
  display: flex;
  align-items: start;
  font-size: 12px;
  display: flex;
  flex-direction: column;
}

.tb-es-passenger-label-name {
  display: flex;
  font-size: 12px;
  justify-content: start;
}

.tb-es-passenger-icon {
  margin-right: 4px;
}

.tb-es-age-hint {
  color: #9ca3af;
  font-size: 12px;
}

.tb-es-counter {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  height: 35px;
}
.tb-es-action-btn {
  display: flex;
  justify-content: end;
}

.tb-es-counter-btn {
  padding: 5px 5px;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tb-es-counter-btn:hover:not(:disabled) {
  background-color: #f3f4f6;
}

.tb-es-counter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tb-es-counter-value {
  padding: 4px 10px;
  min-width: 32px;
  text-align: center;
  font-size: 12px;
}

.tb-es-room-type-label {
  color: #4b5563;
  margin-bottom: 8px;
  font-size: 14px;
}

.tb-es-room-type-select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0px 12px;
  background-color: white;
  font-size: 14px;
  appearance: menulist;
}

@media only screen and (max-width: 767.98px) {
  .tb-es-age-hint {
    font-size: 10px;
  }
  .tb-es-flex-col {
    display: flex;

    gap: 10px;
    width: 100%;
    align-items: center;
  }
  .tb-es-label {
    color: #4b5563;
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-bottom: 0px;
  }
  .tb-es-date-field {
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    padding: 0.2rem 0.2rem;
    width: 100%;

    font-size: 10px;
  }
  .tb-es-container {
    background-color: #fff7ed;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
  }
  .tb-es-duration-label {
    font-size: 10px;
  }
  .tb-es-duration-unit {
    font-size: 10px;
  }
  .tb-es-duration-value {
    font-size: 10px;
  }
  .tb-es-title-text {
    font-size: 14px;
  }
  .tb-es-title-icon {
    font-size: 14px;
  }
  .tb-es-room-number {
    font-size: 12px;
  }
  .tb-es-passenger-label {
    font-size: 12px;
  }
  .tb-es-room-type-select {
    height: 45px;
  }
  .tb-es-header {
    margin-bottom: 8px;
  }
  .tb-es-vehicle-type {
    font-size: 12px;
  }
  .tb-es-grand-total {
    font-size: 12px;
  }
  .tb-es-package-price {
    font-size: 12px;
  }
  .tb-es-tax-row {
    font-size: 12px;
  }
  .tb-es-disclaimer {
    font-size: 10px;
  }
}

.tb-es-update-booking-button-container {
  display: flex;
  justify-content: end;
}

.tb-es-update-booking-button {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background-color: #ff7f47;
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.tb-es-update-booking-button:hover {
  background-color: #ed723d;
}

.tb-es-update-booking-button:active {
  transform: translateY(1px);
}

.tb-es-update-booking-button:focus {
  outline: 2px solid rgba(249, 115, 22, 0.4);
  outline-offset: 2px;
}

/* Add a subtle loading effect for when the update is processing */
.tb-es-update-booking-button.tb-es-loading {
  background-color: #ff7f47;
  background-size: 56.57px 56.57px;
  animation: tb-es-loading-stripes 1s linear infinite;
}

@keyframes tb-es-loading-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 56.57px 0;
  }
}

/* Parent Wrapper */
.bkg-ecosystem-btn {
  position: relative;
  margin-top: 1.5rem; /* Tailwind's mt-6 */
}

/* Background Glow Layer */
.ecosystem-bg-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #ff7f47,
    #ff6a2b
  ); /* from-blue-500 to-purple-600 */
  border-radius: 0.5rem;
  filter: blur(10px);
  opacity: 0.75;
  transition: opacity 1s;
}

.bkg-ecosystem-btn:hover .ecosystem-bg-glow {
  opacity: 1;
  transition-duration: 0.2s;
}

/* Main Button */
.ecosystem-btn {
  position: relative;
  width: 100%;
  background-color: white;
  border: 2px solid #ff7f47; /* blue-500 */
  color: #ff6a2b; /* blue-600 */
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  font-family: sans-serif;
  cursor: pointer;
}

.ecosystem-btn:hover {
  background-color: #fff7ed;
}

/* Left content inside button */
.ecosystem-btn-left {
  display: flex;
  align-items: center;
}

/* SVG Icons */
.ecosystem-btn .icon {
  height: 1.25rem;
  width: 1.25rem;
  margin-right: 0.5rem;
  color: #ff7f47;
}
.ecosystem-btn > .icon:last-child {
  margin-right: 0;
}

.tb-es-tabs {
  background-color: #f3f4f6;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 30px;
  display: flex;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tb-es-tab {
  width: 50%;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
  background: none;
  border: none;
  cursor: text;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.tb-es-tab:hover {
  color: #4b5563;
}

.tb-es-tab-active {
  background-color: white;
  color: #ff7f47;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.tb-es-tab-icon {
  height: 20px;
  width: 20px;
  margin-right: 8px;
}

.tb-es-progress-container {
  width: 100%;
  background-color: #e5e7eb;
  border-radius: 9999px;
  height: 6px;
  margin-bottom: 24px;
  display: none;
}

.tb-es-progress-bar {
  background-color: #ff7f47;
  height: 6px;
  border-radius: 9999px;
  transition: width 0.3s ease-in-out;
}

.tb-es-form-container {
  width: 100%;
}

.tb-es-form {
  max-height: 350px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db #f3f4f6;
  display: flex;
  flex-direction: column;
}

/* For WebKit browsers (Chrome, Edge, Safari) */
.tb-es-form::-webkit-scrollbar {
  width: 6px;
}

.tb-es-form::-webkit-scrollbar-track {
  background: #f3f4f6; /* light gray background */
  border-radius: 10px;
}

.tb-es-form::-webkit-scrollbar-thumb {
  background: #d1d5db; /* medium gray scrollbar */
  border-radius: 10px;
}

.tb-es-form::-webkit-scrollbar-thumb:hover {
  background: #9ca3af; /* darker on hover */
}

/* Wrapper for title + line */
.tb-es-form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  padding-right: 4px;
}

/* Section title */
.tb-es-form-title {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin: 0;
  white-space: nowrap;
  font-family: sans-serif;
}

/* Line next to title */
.tb-es-form-line {
  flex: 1;
  height: 1px;
  background: #ff7f47;
  border-radius: 2px;
  opacity: 0.9;
}

.tb-es-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .tb-es-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.tb-es-form-group {
  width: 100%;
  margin-bottom: 20px;
}

.tb-es-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.tb-es-input input {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  transition: all 0.2s;
  height: 45px;
}

.tb-es-input.invalid input {
  border-color: #ef4444; /* red */
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.06);
}

.tb-es-input.valid input {
  border-color: #d1d5db;
}

.tb-es-number-input {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: #f9fafb;
}

.tb-es-number-btn {
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  color: #2563eb;
  transition: background-color 0.2s;
}

.tb-es-number-btn:hover {
  background-color: #f3f4f6;
}

.tb-es-number-btn-left {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.tb-es-number-btn-right {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.tb-es-number-display {
  padding: 0.5rem 1rem;
  border-left: 1px solid #d1d5db;
  border-right: 1px solid #d1d5db;
  background-color: white;
  flex-grow: 1;
  text-align: center;
}

/* Custom CSS classes with tb-es prefix */
.tb-es-navigation-container {
  margin-top: 8px;
}

.tb-es-back-button {
  background-color: #e5e7eb;
  color: #374151;
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease-in-out;
  display: flex;
  align-items: center;
  border: none;
}

.tb-es-back-button:hover {
  background-color: #d1d5db;
}

.tb-es-back-icon {
  height: 1.25rem;
  width: 1.25rem;
  margin-right: 0.25rem;
}

.tb-es-action-button {
  color: white;
  font-weight: 500;
  font-size: 16px;
  padding: 0.7rem 2rem;
  border-radius: 999px;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background-color: #ff7f47;
  border: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
 
}

.tb-es-action-button:hover {
  background-color: #eb652c;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.tb-es-form-button-position {
  margin-left: auto;
}

.tb-es-forward-icon {
  height: 1.25rem;
  width: 1.25rem;
  margin-left: 0.25rem;
}

@media only screen and (max-width: 767.98px) {
  .tb-es-tab {
    width: 50%;
    padding: 12px 10px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
  }

  .tb-es-tab-active {
    background-color: white;
    color: #ff7f47;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .tb-es-tab-icon {
    height: 15px;
    width: 15px;
    margin-right: 8px;
  }

  .tb-es-action-btn {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/*  booking-confirmation */
.tb-es-booking-confirmation {
  width: 100%;
  max-height: 380px; /* adjust based on design */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin; /* for Firefox */
  scrollbar-color: #d1d5db #f3f4f6; /* thumb & track colors */
}

/* For WebKit browsers (Chrome, Edge, Safari) */
.tb-es-booking-confirmation::-webkit-scrollbar {
  width: 6px;
}

.tb-es-booking-confirmation::-webkit-scrollbar-track {
  background: #f3f4f6; /* light gray background */
  border-radius: 10px;
}

.tb-es-booking-confirmation::-webkit-scrollbar-thumb {
  background: #d1d5db; /* medium gray scrollbar */
  border-radius: 10px;
}

.tb-es-booking-confirmation::-webkit-scrollbar-thumb:hover {
  background: #9ca3af; /* darker on hover */
}

/* Header styles */
.tb-es-booking-confirmation .tb-es-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Confirmation card styles */
.tb-es-confirmation-card {
}

.tb-es-confirmation-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 6px 0;
}

.tb-es-check-icon {
  background-color: #10b981;
  color: #fff;
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.tb-es-confirmation-header .tb-es-title {
  font-size: 17px;
  font-weight: 600;
  color: #222;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  margin: 0 0 3px 0;
}

.tb-es-subtitle {
  color: #666;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

.tb-es-brand-text {
  font-weight: 600;
  color: #ff7f47;
}

.tb-es-booking-summary {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  border-top: 1px solid #e5e7eb; /* subtle gray */
  background-color: #fafafa; /* light neutral tone for contrast */
  border-radius: 8px;
}

.tb-es-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tb-es-summary-label {
  color: #555;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.tb-es-summary-value {
  font-weight: 600;
  font-size: 14px;
  text-align: right;
  color: #111;
}

/* Button styles */
.tb-es-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tb-es-button {
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  gap: 8px;
  margin-bottom: 8px;
  background-color: transparent;
}

.tb-es-view-button,
.tb-es-download-button {
  border: 1px solid #f97316;
  color: #f97316;
  border-radius: 8px;
  background-color: #fffaf7;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tb-es-view-button:hover,
.tb-es-download-button:hover {
  background-color: #f97316;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(249, 115, 22, 0.25);
}

.tb-es-button-icon {
  margin-bottom: 4px;
  height: 16px;
  width: 16px;
}

/* Payment section styles */
.tb-es-payment-section {
  border-top: 1px solid #e5e7eb;
  margin-top: 12px;
  padding: 0 0px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
}

/* Title */
.tb-es-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 6px;
}

.tb-es-section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Payment details */
.tb-es-payment-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 6px;
}

.tb-es-payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  font-size: 15px;
}

.tb-es-payment-label {
  color: #666;
  font-size: 14px;
  font-weight: 400;
}

.tb-es-payment-value {
  font-weight: 500;
  color: #111;
  text-align: right;
}

.tb-es-payment-highlight {
  font-weight: 700;
  font-size: 20px;
  color: #111;
}

/* Pay Buttons */
.tb-es-pay-button,
.tb-es-pay-full-button {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Primary Pay Button */
.tb-es-pay-button {
  border: 1px solid #f97316;
  color: #f97316;
  background-color: #fffaf7;
}

.tb-es-pay-button:hover,
.tb-es-pay-button:focus {
  background-color: #f97316;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(249, 115, 22, 0.25);
  outline: none;
}

/* Secondary Pay Button */
.tb-es-pay-full-button {
  margin-top: 12px;
  background-color: #fff;
  color: #555;
  border: 1px solid #ddd;
}

.tb-es-pay-full-button:hover,
.tb-es-pay-full-button:focus {
  background-color: #f5f5f5;
  transform: translateY(-1px);
}

.tb-es-button-arrow {
  margin-left: 8px;
  display: flex;
  align-items: center;
}

/* Note Section */
.tb-es-note-section {
  padding: 0 0px;
  margin-top: 8px;
}

.tb-es-note-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tb-es-note-icon {
  margin-top: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-es-note-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tb-es-note-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.tb-es-note-description {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* Footer */
.tb-es-footer {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  border-top: 1px solid #e5e7eb;
  padding: 10px 12px 0;
}

.tb-es-support-text {
  font-size: 14px;
  color: #777;
}

.tb-es-support-link {
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #333;
}

.tb-es-support-link:hover {
  text-decoration: underline;
}

.tb-es-support-divider {
  margin: 0 6px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 420px) {
  .tb-es-section-title {
    font-size: 16px;
  }

  .tb-es-payment-row {
    font-size: 13.5px;
  }

  .tb-es-payment-highlight {
    font-size: 18px;
  }

  .tb-es-button {
    font-size: 12px;
  }
}

/* Custom CSS for Error Section */
.tb-es-form-error {
  margin-bottom: 10px;
  padding: 10px 10px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.375rem;
}

.tb-es-form-error-content {
  display: flex;
  align-items: center;
}

.tb-es-form-error-icon {
  height: 1.25rem;
  width: 1.25rem;
  color: #ef4444;
  margin-right: 0.75rem;
}

.tb-es-form-error-title {
  font-size: 0.875rem;
  color: #b91c1c;
}

.tb-es-form-error-message {
  font-size: 0.875rem;
  color: #b91c1c;
  margin-top: 0.25rem;
}

.tb-es-form-error-button {
  margin-top: 6px;
  font-size: 0.875rem;
  color: #b91c1c;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.tb-es-form-error-button:hover {
  color: #7f1d1d;
}

/* Custom CSS for loading section */
.tb-es-form-loading {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #fff7ed;
  border: 1px solid #ff7f47;
  border-radius: 0.375rem;
}

.tb-es-form-loading-flex {
  display: flex;
  align-items: center;
}

.tb-es-form-loading-spinner {
  margin-right: 0.75rem;
  height: 1.25rem;
  width: 1.25rem;
  color: #ff7f47;
  animation: tb-es-form-loading-spin 1s linear infinite;
  line-height: 0;
}

.tb-es-form-loading-circle {
  opacity: 0.25;
}

.tb-es-form-loading-path {
  opacity: 0.75;
}

.tb-es-form-loading-text {
  font-weight: 500;
  color: #ff7f47;
}

.tb-es-form-error-inline {
  margin-top: 10px;
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #dc2626;
}

.tb-es-form-error-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

@keyframes tb-es-form-loading-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.tb-es-child-age .child-age-container {
  margin-bottom: 0px;
}

.tb-es-child-age .child-age-title {
  font-size: 12px;

  margin-bottom: 5px;
}

.tb-es-child-age .child-age-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.tb-es-child-age .child-age-label {
  color: #4b5563; /* gray-600 */
  font-size: 11px;
}

.tb-es-child-age .child-age-input-container {
  display: flex;
  align-items: center;
}

.tb-es-child-age .child-age-input {
  padding: 5px 10px;
  border: 1px solid #d1d5db; /* gray-300 */
  border-radius: 0.25rem;
  line-height: 0px;
  height: 25px;
  font-size: 12px;
  margin-left: 5px;
}

.tb-es-pay-loader {
  color: 'inherit';
  animation: tb-es-pay-spin 1s linear infinite;
}
.tb-es-pay-loadingText {
  font-weight: '500';
  letter-spacing: '0.03em';
  transition: 'opacity 0.2s ease';
  opacity: '0.9';
  margin-left: 5px;
}
.tb-es-pay-loadingContainer {
  display: 'flex';
  align-items: 'center';
  justify-content: 'center';
  gap: '8px';
}
@keyframes tb-es-pay-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* StatusAlert.css */
.tb-es-payment-status-container {
  padding: 1rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 0.375rem;
  margin-top: 20px;
}

.tb-es-payment-status-success {
  background-color: #f0fdf4;
  border-color: #bbf7d0;
}

.tb-es-payment-status-error {
  background-color: #fef2f2;
  border-color: #fecaca;
}

.tb-es-payment-status-content {
  display: flex;
  align-items: center;
}

.tb-es-payment-status-icon {
  height: 1.25rem;
  width: 1.25rem;
  margin-right: 0.75rem;
}

.tb-es-payment-status-icon-success {
  color: #22c55e;
}

.tb-es-payment-status-icon-error {
  color: #ef4444;
}

.tb-es-payment-status-text {
  flex: 1;
}

.tb-es-payment-status-title {
  font-weight: 500;
}

.tb-es-payment-status-success .tb-es-payment-status-title {
  color: #166534;
}

.tb-es-payment-status-error .tb-es-payment-status-title {
  color: #991b1b;
}

.tb-es-payment-status-subtitle {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.tb-es-payment-status-success .tb-es-payment-status-subtitle {
  color: #15803d;
}

.tb-es-payment-status-error .tb-es-payment-status-subtitle {
  color: #b91c1c;
}

.tb-es-payment-status-button {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  text-decoration: underline;
}

.tb-es-payment-status-success .tb-es-payment-status-button {
  color: #15803d;
}

.tb-es-payment-status-success .tb-es-payment-status-button:hover {
  color: #166534;
}

.tb-es-payment-status-error .tb-es-payment-status-button {
  color: #b91c1c;
}

.tb-es-payment-status-error .tb-es-payment-status-button:hover {
  color: #991b1b;
}

.tb-es-price-info {
  margin: 14px 0px;
}

.tb-es-price-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(11, 20, 40, 0.06);
  border: 1px solid rgba(14, 90, 242, 0.06);
}

/* Layout for icon + text */
.tb-es-price-info-left {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
}

/* vertical accent bar to left (subtle) */
.tb-es-price-info::before {
  content: '';
  display: block;
  position: absolute; /* only if parent has position:relative; you can remove if unwanted */
}

/* icon */
.tb-es-price-info-icon {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(14, 90, 242, 0.08),
    rgba(14, 90, 242, 0.04)
  );
  color: var(--accent-blue);
  border-radius: 10px;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(14, 90, 242, 0.06);
}

/* text area */
.tb-es-price-info-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0; /* allow truncation */
}

/* title */
.tb-es-price-info-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--muted-blue);
  word-break: break-word;
}

/* message (darker link-like color but readable) */
.tb-es-price-info-message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--info-blue);
  opacity: 0.95;
}

/* contact area: chips */
.tb-es-price-info-contact {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.tb-es-price-info-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(14, 90, 242, 0.06);
  color: var(--info-blue);
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 1px 0 rgba(14, 90, 242, 0.03);
}

/* hover/focus */
.tb-es-price-info-contact-item:hover,
.tb-es-price-info-contact-item:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 90, 242, 0.08);
  color: #0b3db8;
  outline: none;
}

/* tiny icons in chips */
.tb-es-price-info-contact-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* CTA button (full width matching screenshot) */
.tb-es-price-info-button {
  width: 100%;
  padding: 12px 18px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #ff8a50, #ff6b35);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.18);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* CTA hover */
.tb-es-price-info-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 107, 53, 0.22);
}

/* Small screens: keep layout tidy */
@media (max-width: 520px) {
  .tb-es-price-info {
    padding: 16px;
  }
  .tb-es-price-info-left {
    gap: 10px;
    align-items: flex-start;
  }
  .tb-es-price-info-icon {
    min-width: 40px;
    min-height: 40px;
  }
  .tb-es-price-info-title {
    font-size: 15px;
  }
  .tb-es-price-info-message {
    font-size: 13px;
  }
  .tb-es-price-info-button {
    padding: 11px 14px;
    font-size: 15px;
  }
}

/* Container / page background */
.tb-es-customer-email-vr-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 380px; /* adjust based on design */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin; /* for Firefox */
  scrollbar-color: #d1d5db #f3f4f6; /* thumb & track colors */
}

/* For WebKit browsers (Chrome, Edge, Safari) */
.tb-es-customer-email-vr-wrapper::-webkit-scrollbar {
  width: 6px;
}

.tb-es-customer-email-vr-wrapper::-webkit-scrollbar-track {
  background: #f3f4f6; /* light gray background */
  border-radius: 10px;
}

.tb-es-customer-email-vr-wrapper::-webkit-scrollbar-thumb {
  background: #d1d5db; /* medium gray scrollbar */
  border-radius: 10px;
}

.tb-es-customer-email-vr-wrapper::-webkit-scrollbar-thumb:hover {
  background: #9ca3af; /* darker on hover */
}

/* Card */
.tb-es-customer-email-vr-card {
  width: 100%;
}

/* Back button */
.tb-es-customer-email-vr-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: transparent;
  border: none;
  color: #4b5563; /* gray-600 */
  font-size: 14px;
  cursor: pointer;
  padding: 4px;
}
.tb-es-customer-email-vr-back:hover {
  color: #111827; /* gray-800 */
}
.tb-es-customer-email-vr-back-icon {
  width: 20px;
  height: 20px;
}

/* Header / title */
.tb-es-customer-email-vr-header {
  text-align: center;
  margin-bottom: 10px;
}
.tb-es-customer-email-vr-avatar {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff3e0; /* orange-100 */
}
.tb-es-customer-email-vr-avatar-icon {
  width: 20px;
  height: 20px;
  color: #fb8c00; /* orange-500 */
}
.tb-es-customer-email-vr-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: #111827; /* gray-800 */
  font-family: sans-serif;
  line-height: 20px;
}
.tb-es-customer-email-vr-sub {
  margin: 0;
  color: #6b7280; /* gray-600 */
  font-size: 12px;
  font-family: sans-serif;
  line-height: 20px;
}
.tb-es-customer-email-vr-email {
  display: inline-block;
  margin-top: 0px;
  font-weight: 600;
  color: #111827;
}

/* OTP area */
.tb-es-customer-email-vr-otp-section {
  margin-bottom: 20px;
}
.tb-es-customer-email-vr-otp-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151; /* gray-700 */
  margin-bottom: 12px;
  text-align: center;
}

/* Inputs container */
.tb-es-customer-email-vr-otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Single OTP input */
.tb-es-customer-email-vr-otp-input input {
  width: 48px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  border-radius: 10px;
  border: 2px solid #e5e7eb; /* gray-300 */
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease,
    transform 0.08s ease;
  box-sizing: border-box;
}
.tb-es-customer-email-vr-otp-input input:focus {
  border-color: #ff7f47; /* orange-500 */
  box-shadow: 0 6px 18px rgba(251, 140, 0, 0.12);
  transform: translateY(-1px);
}

/* Verify button */
.tb-es-customer-email-vr-verify-btn {
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(180deg, #ff7f47, #ff6b35); /* orange CTA */
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.tb-es-customer-email-vr-verify-btn:disabled {
  background: #e5e7eb; /* gray-300 */
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.95;
}

/* Resend area */
.tb-es-customer-email-vr-resend {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}
.tb-es-customer-email-vr-resend-text {
  color: #6b7280;
}
.tb-es-customer-email-vr-resend-timer {
  color: #9ca3af;
}
.tb-es-customer-email-vr-resend-btn {
  background: transparent;
  border: none;
  color: #ff7f47;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.tb-es-customer-email-vr-resend-btn:hover {
  color: #f57b46;
}

/* Responsive tweaks */
@media (max-width: 420px) {
  .tb-es-customer-email-vr-card {
    padding: 10px 0px;
    border-radius: 14px;
  }
  .tb-es-customer-email-vr-otp-input {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .tb-es-customer-email-vr-title {
    font-size: 20px;
  }
}



.tb-es-phone-input {
  display: flex;
  align-items: center;
  width: 100%;
  height: 45px;
      padding: 10px 0;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s;
  background: #fff;
  transition: 0.2s;
}


.tb-es-phone-input.invalid {
  border-color: #ef4444;
}

.tb-es-phone-number {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 16px;

}

