* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #222;
  overflow-x: hidden;
}

.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 270px;
  min-width: 270px;
  max-width: 270px;
  flex: 0 0 270px;
  background: #e6f7f8;
  color: #003637;
  padding: 30px 20px;
}

.sidebar .logo {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 30px;
}

.sidebar .logo .sidebar-logo-image {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  object-fit: contain;
}

.sidebar nav .step-nav {
  margin-bottom: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #003637;
}

.sidebar nav .step-nav .num {
  background: #9ccfd3;
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  text-align: center;
  line-height: 28px;
  margin-right: 10px;
  font-weight: bold;
  color: #fff;
}

.sidebar nav .step-nav.active .num {
  background: #f37321;
}

.sidebar nav .step-nav .text {
  font-size: 0.93em;
  color: #003637;
}

.vr-mobile-steps-title {
  display: none;
}

.content {
  flex: 1;
  padding: 30px 0px;
}

.vr-content-shell {
  display: flex;
  gap: 18px;
  width: 100%;
}

.vr-form-shell {
  flex: 1;
  min-width: 0;
}

.vr-ad-rail {
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  border-radius: 10px;
}

.vr-ad-rail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.vr-ad-mobile {
  display: none !important;
}

.layout.vr-sidebar-horizontal {
  display: block;
}

.layout.vr-sidebar-horizontal .sidebar {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 20px;
  border-radius: 15px;
}

.layout.vr-sidebar-horizontal .sidebar .logo {
  margin-bottom: 0;
}

.layout.vr-sidebar-horizontal .sidebar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.layout.vr-sidebar-horizontal .sidebar nav .step-nav {
  margin-bottom: 0;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.block-group {
  margin-bottom: 25px;
}

.form-row-2,
.form-row-3 {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.field-group {
  min-width: 0;
}

input,
select {
  width: 100%;
  padding: 11px 12px;
  margin-top: 8px;
  border: 1px solid #ccd6e0;
  border-radius: 10px;
  font-size: 1em;
  background: #fff;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #5c6f82 50%),
    linear-gradient(135deg, #5c6f82 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

input:focus,
select:focus {
  outline: none;
  border-color: #00b3b5;
  box-shadow: 0 0 0 3px rgba(0, 179, 181, 0.16);
}

select option {
  background: #ffffff;
  color: #1f2f40;
}

h2,
h3,
h4 {
  color: #003637;
  margin-bottom: 14px;
  font-size: 1.35em;
}

.calendar-layout {
  display: flex;
  gap: 18px;
  width: 100%;
  max-width: 100%;
}

.calendar,
.timeslots {
  flex: 1 1 0;
  padding: 18px;
  background: white;
  border-radius: 8px;
  border: 1px solid #cbd2da;
}

.summary-box {
  background: white;
  border: 1px solid #cbd2da;
  border-radius: 7px;
  padding: 18px;
  margin-bottom: 18px;
}

.vr-summary-header {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f3d5e;
  margin-bottom: 12px;
}

.vr-summary-list {
  display: grid;
  gap: 10px;
}

.vr-summary-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dashed #d8dee6;
}

.vr-summary-item:last-child {
  border-bottom: 0;
}

.vr-summary-key {
  color: #6b7a89;
  font-size: 0.9rem;
}

.vr-summary-value {
  color: #1f2f40;
  font-weight: 600;
  word-break: break-word;
}

.checkbox {
  display: block;
  text-align: left;
  max-width: 500px;
  line-height: 1.4;
  cursor: pointer;
  margin-bottom: 22px;
}

.checkbox input[type="checkbox"] {
  float: left;
  width: auto;
  padding: 0;
  margin: 3px 10px 0 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}

.checkbox span {
  display: block;
}

.checkbox input[type="checkbox"]:focus {
  box-shadow: none;
  border: 0;
}

.checkbox-terms-link {
  margin: -12px 0 22px 0;
  font-size: 0.94rem;
}

.checkbox-terms-link a {
  color: #003637;
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.footer-nav button {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1em;
  border: none;
  cursor: pointer;
}

#prevBtn {
  background: #b0b9c6;
  color: white;
}

#nextBtn {
  background: #00b3b5;
  color: white;
  margin-left: auto;
}


.booking-progress {
  margin-top: 12px;
}

.booking-progress-bar {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.booking-progress-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00b3b5 0%, #00457a 100%);
  animation: vr-booking-progress 1.1s ease-in-out infinite;
}

.booking-progress p {
  margin: 8px 0 0;
  color: #334155;
  font-size: 0.95rem;
}

@keyframes vr-booking-progress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}


.vr-pwa-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 1000;
}

.vr-pwa-modal.is-visible {
  display: flex;
}

.vr-pwa-modal-content {
  width: 100%;
  max-width: min(420px, calc(100vw - 24px));
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  overflow-wrap: anywhere;
}

.vr-pwa-modal-content h3 {
  margin: 0 0 8px;
  color: #003637;
}

.vr-pwa-modal-content p {
  margin: 0;
  color: #334155;
}

.vr-pwa-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.vr-pwa-modal-actions > * {
  flex: 1 1 0;
  text-align: center;
}

.vr-pwa-modal-actions button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
}

.vr-pwa-modal-actions a {
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
}

#vrPwaInstallBtn {
  background: #00b3b5;
  color: #fff;
}

.vr-pwa-skip {
  background: #e2e8f0;
  color: #1e293b;
}

.vr-pwa-help {
  margin-top: 12px;
  color: #334155;
  font-size: 0.93rem;
}

.vr-pwa-open-app {
  background: #00457a;
  color: #fff;
}


.vr-thankyou-modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 18, 28, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 16px;
}

.vr-thankyou-modal.is-visible {
  display: flex;
}

.vr-thankyou-modal-content {
  width: min(520px, 100%);
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d8dfe7;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  padding: 18px;
}

.vr-thankyou-modal-content h3 {
  margin: 0 0 8px;
  color: #003637;
}

.vr-thankyou-modal-content p {
  margin: 0;
  color: #334155;
  line-height: 1.5;
}

.vr-app-top-logo {
  margin-bottom: 18px;
  text-align: center;
}

.vr-app-top-logo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.layout.vr-app-mode {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: auto;
}

.layout.vr-app-mode .sidebar {
  display: none;
}

.layout.vr-app-mode .content {
  padding: 18px 14px;
}

.layout.vr-app-mode .form-step,
.layout.vr-app-mode .form-row-2,
.layout.vr-app-mode .form-row-3,
.layout.vr-app-mode .block-group,
.layout.vr-app-mode .calendar-layout,
.layout.vr-app-mode .booking-calendar,
.layout.vr-app-mode .booking-times,
.layout.vr-app-mode .summary-box {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.layout.vr-app-mode .calendar-layout {
  gap: 12px;
}

.layout.vr-app-mode #vr-form,
.layout.vr-app-mode #vr-form .form-step,
.layout.vr-app-mode #vr-form .form-step > *,
.layout.vr-app-mode .checkbox,
.layout.vr-app-mode .checkbox-terms-link {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


@media (max-width: 992px) {
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .layout {
    flex-direction: column;
  }

  .content {
    padding: 18px 14px;
  }

  .vr-content-shell {
    flex-direction: column;
  }

  .vr-ad-rail {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .vr-ad-desktop {
    display: none !important;
  }

  .vr-ad-mobile {
    display: block !important;
  }

  .sidebar {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex: none;
  }

  .layout:not(.vr-app-mode) .sidebar {
    padding: 10px 14px;
  }

  .layout:not(.vr-app-mode) .sidebar .logo {
    display: none;
  }

  .layout:not(.vr-app-mode) .vr-mobile-steps-title {
    display: block;
    text-align: left;
    font-size: 1.35em;
    font-weight: 600;
    color: #003637;
    margin: 0 0 6px 0;
  }

  .layout:not(.vr-app-mode) .sidebar nav {
    display: flex;
    justify-content: center;
  }

  .layout:not(.vr-app-mode) .sidebar nav .step-nav {
    display: none;
    margin-bottom: 0;
  }

  .layout:not(.vr-app-mode) .sidebar nav .step-nav.active {
    display: inline-flex;
  }

  .calendar-layout {
    flex-direction: column;
    gap: 12px;
  }

  .weekday-grid,
  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
  }

  .day-cell {
    width: 38px;
    height: 38px;
    min-height: 38px;
    justify-self: center;
  }
}

.vr-page-heading {
  color: #00457a;
  font-size: 1.6rem;
  margin: 0 0 1rem 0;
}

.field-label {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #243447;
}

.block-group .field-label:first-child {
  margin-top: 0;
}

.place-suggestions {
  position: relative;
  z-index: 20;
  margin-top: 6px;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  background: #fff;
  display: none;
  max-height: 240px;
  overflow: auto;
}

.place-suggestion-item {
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #eef2f6;
  background: #fff;
  cursor: pointer;
  font-size: 0.94rem;
}

.place-suggestion-item:last-child {
  border-bottom: 0;
}

.place-suggestion-item:hover {
  background: #f3f7fb;
}

.booking-layout {
  align-items: flex-start;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.booking-times .booking-header {
  margin-bottom: 20px;
}

.month-nav {
  border: 1px solid #cbd2da;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  color: #27384a;
}

.weekday-grid,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(34px, 1fr));
  gap: 8px;
}

.weekday-grid {
  margin-bottom: 8px;
  color: #5f6f80;
  font-size: 0.9rem;
}

.day-cell {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #a5b0bc;
}

.day-cell.available {
  color: #1f2f40;
  border-color: #00b3b5;
}

.day-cell.selected {
  background: #f58b2a;
  color: white;
  border: 0px;
}

.day-cell:disabled {
  cursor: not-allowed;
}

.times-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(72px, 1fr));
  gap: 10px;
}

.time-cell {
  border: 1px solid #b8c1cc;
  border-radius: 10px;
  background: #fff;
  padding: 12px 10px;
  cursor: pointer;
  font-size: 1.05rem;
}

.time-cell.selected {
  border-color: unset;
  color: white;
  background: #f58b2a;
}

.time-cell.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.times-loading {
  color: #768799;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .booking-calendar,
  .booking-times {
    width: 100%;
  }

  .weekday-grid,
  .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
  }

  .day-cell {
    width: 38px;
    height: 38px;
    min-height: 38px;
    justify-self: center;
  }

  .times-grid {
    grid-template-columns: repeat(3, minmax(72px, 1fr));
  }
}


.vr-notifications {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.vr-notification {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transform: translateY(-6px);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.vr-notification.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.vr-notification-info { background: #e9f3ff; color: #0f3f73; }
.vr-notification-success { background: #e8faf2; color: #12693f; }
.vr-notification-warning { background: #fff8e5; color: #7b5600; }
.vr-notification-error { background: #ffecec; color: #7f1d1d; }



.vr-native-select-hidden {
  display: none !important;
}

.vr-tw-select {
  position: relative;
}

.vr-tw-select-trigger {
  width: 100%;
  margin-top: 8px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  min-height: 46px;
  padding: 10px 38px 10px 12px;
  text-align: left;
  position: relative;
  color: #111827;
}

.vr-tw-select-trigger::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: translateY(-60%) rotate(45deg);
}

.vr-tw-select.is-open .vr-tw-select-trigger {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, .16);
}

.vr-tw-select-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  bottom: auto;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .15);
  max-height: 260px;
  overflow: auto;
  z-index: 30;
}

.vr-tw-select.is-open .vr-tw-select-menu {
  display: block;
}

.vr-tw-select-item {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  padding: 10px 12px;
  color: #1f2937;
}

.vr-tw-select-item:hover,
.vr-tw-select-item.is-selected {
  background: #f0fdfa;
}

@media (max-width: 640px) {
  .vr-summary-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


.vr-pwa-bottom-info {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.vr-pwa-ad-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.vr-pwa-ad-banner {
  display: block;
  width: 100%;
  height: auto;
}

.vr-pwa-contact-footer,
.vr-pwa-company-footer {
  padding: 10px 12px;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #fff;
  color: #334155;
}

.vr-pwa-contact-footer h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #003637;
}

.vr-pwa-contact-footer p,
.vr-pwa-company-footer p {
  margin: 0;
  line-height: 1.45;
}

.campaign-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d8dfe7;
  background: #f8fafc;
  margin-right: 8px;
}

.campaign-preview-trigger {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #2f3b52;
}

#adCampaignsTable td {
  min-width: 130px;
  vertical-align: top;
}
