:root {
  --navy: #020b3f;
  --orange: #ff950e;
  --orange-light: #ffaf15;
  --orange-dark: #fe6300;
  --text: #2f2f35;
  --muted: #eeeeee;
  --border: #dee2e6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #fff;
  font-family: "Jost", Arial, Helvetica, sans-serif;
}

.booking {
  position: relative;
  display: grid;
  grid-template-columns: 33.333% minmax(0, 58.333%);
  min-height: 100vh;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: url("img/bg_0.webp") center center / cover no-repeat;
}

.logo {
  position: absolute;
  top: 10%;
  left: 29%;
  z-index: 3;
}

.logo img {
  display: block;
  max-width: 132px;
  height: auto;
}

.side-steps {
  position: absolute;
  top: 34%;
  right: -18px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.side-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.75);
}

.side-step {
  position: relative;
  z-index: 1;
  display: block;
  width: 38px;
  height: 38px;
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  font-size: 15px;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
}

.side-step.active,
.side-step.done {
  background: var(--orange);
}

.panel {
  position: relative;
  min-height: 100vh;
  padding: 48px 48px 48px 48px;
  background:
    repeating-radial-gradient(ellipse at 62% 58%, rgba(2, 11, 63, 0.06) 0 1px, transparent 1px 14px),
    #fff;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), #fff 86%);
  pointer-events: none;
}

.language,
.top,
.progress,
form {
  position: relative;
  z-index: 1;
}

.public-alert {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 0.525rem;
  font-weight: 600;
}

.public-alert-success {
  color: #1f8f51;
  background: rgba(40, 199, 111, 0.12);
}

.public-alert-danger {
  color: #d73f40;
  background: rgba(234, 84, 85, 0.12);
}

.language {
  margin-bottom: 48px;
}

.language select {
  width: 150px;
  height: 38px;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  color: #6e6b7b;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}

.top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-top: 48px;
  padding-bottom: 8px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.top p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress {
  width: 100%;
  height: 14px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 50rem;
  background: #eeeeee;
}

.progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(to right, var(--orange-light), var(--orange-dark));
  transition: width 0.25s ease;
}

.step {
  display: none;
  min-height: 318px;
}

.step.active {
  display: block;
}

h2 {
  margin: 48px 0;
  color: #28282d;
  font-size: clamp(38px, 4.7vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  text-transform: capitalize;
}

.field {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 50px;
  padding: 10px;
  margin: 0;
}

.field-icon {
  display: grid;
  place-items: center;
  width: 52px;
  flex: 0 0 52px;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: 0.525rem 0 0 0.525rem;
  color: #2f2f35;
  background: #f3f4f6;
  font-size: 19px;
}

input,
select,
textarea {
  min-height: 50px;
  border: 1px solid var(--border);
  outline: none;
  color: #6e6b7b;
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 16px;
}

input,
.field > select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 0.525rem;
}

.field-icon + input,
.field-icon + select {
  border-radius: 0 0.525rem 0.525rem 0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 149, 14, 0.14);
}

.phone-field {
  width: 250px;
  display: block;
}

.phone-field .iti {
  display: block;
  width: 250px;
}

.phone-field .iti__flag-container {
  border-right: 1px solid var(--border);
  border-radius: 0.525rem 0 0 0.525rem;
  background: #f3f4f6;
}

.phone-field input {
  width: 250px;
  padding-left: 94px !important;
  border-radius: 0.525rem;
}

.iti__country-list {
  width: 460px;
  max-width: calc(100vw - 40px);
  border-color: var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  font-family: "Jost", Arial, Helvetica, sans-serif;
  font-size: 16px;
}

.iti__country {
  padding: 9px 10px;
}

.iti__selected-dial-code {
  color: #111;
  font-weight: 500;
}

.note-field {
  display: block;
}

textarea {
  width: 100%;
  min-height: 70px;
  padding: 10px 14px;
  border-radius: 0.525rem;
  resize: vertical;
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-bottom: 20px;
}

.summary article {
  min-height: 150px;
  padding: 10px;
  background: transparent;
}

.summary h3 {
  display: inline-block;
  margin-bottom: 18px;
  background: -webkit-linear-gradient(top right, var(--orange-light), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 28px;
  font-weight: 700;
}

.summary p {
  margin-bottom: 10px;
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

.summary span {
  display: block;
  color: #777;
  font-size: 13px;
}

.summary strong {
  color: #333;
}

.actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 48px;
}

.actions button {
  min-height: 56px;
  padding: 10px 24px;
  border: 0;
  border-radius: 0.525rem;
  color: #fff;
  background: linear-gradient(to right, var(--orange-light), var(--orange-dark));
  box-shadow: 0 4px 12px rgba(255, 149, 14, 0.28);
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.actions button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 149, 14, 0.35);
}

.actions button span {
  margin: 0 4px;
}

#prevBtn {
  color: #6e6b7b;
  background: #fff;
  border: 1px solid #ebe9f1;
  box-shadow: none;
}

#submitBtn {
  display: none;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  transform: translateY(20px);
  padding: 14px 18px;
  border-radius: 0.525rem;
  color: #fff;
  background: linear-gradient(to right, var(--orange-light), var(--orange-dark));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1199px) {
  .booking {
    grid-template-columns: 1fr;
  }

  .hero {
    display: none;
  }

  .panel {
    min-height: 100vh;
    padding: 24px;
  }
}

@media (max-width: 720px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  h2 {
    font-size: 34px;
  }

  .summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .panel {
    padding: 18px;
  }

  .language {
    margin-bottom: 24px;
  }

  .top {
    padding-top: 24px;
  }

  h2 {
    margin: 32px 0;
    font-size: 28px;
  }

  .field,
  .phone-field {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .phone-field input {
    width: 100%;
  }

  .actions {
    flex-direction: column;
    padding-top: 32px;
  }
}

/* Button size restore */
.actions {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 48px;
}

.actions button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 150px;
  min-height: 56px;
  padding: 10px 24px;
  border-radius: 0.525rem;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

#prevBtn {
  color: #6e6b7b;
  background: #fff;
  border: 1px solid #ebe9f1;
  box-shadow: none;
}

#nextBtn,
#submitBtn {
  color: #fff;
  background: linear-gradient(to right, #ffaf15, #fe6300);
  box-shadow: 0 4px 12px rgba(255, 149, 14, 0.28);
}

@media (max-width: 560px) {
  .actions button {
    width: 100%;
  }
}
/* Button center alignment fix */
.actions button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  height: 56px;
  min-height: 56px;
  padding: 0 24px !important;
  line-height: 1 !important;
  vertical-align: middle;
}

.actions button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  line-height: 1 !important;
}

.actions button i {
  display: inline-block;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 15px;
  transform: translateY(0);
}
/* Button visibility fix */
.actions button.is-hidden {
  display: none !important;
}
/* Left image full cover restore */
.hero {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* Restore left image layout */
.booking {
  display: grid !important;
  grid-template-columns: 33.333% minmax(0, 58.333%) !important;
  min-height: 100vh !important;
  overflow: hidden !important;
}

.hero {
  position: relative !important;
  min-height: 100vh !important;
  width: 100% !important;
  background-image: url("img/bg_0.webp") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.panel {
  min-height: 100vh !important;
}

@media (max-width: 1199px) {
  .booking {
    grid-template-columns: 1fr !important;
  }

  .hero {
    display: none !important;
  }
}