@font-face {
  font-family: "loyal";
  src: url("../new-fonts/eighties/Eighties-Comeback/OTF/EightiesComeback - Semi Bold Semi Condensed.otf")
    format("opentype");
}

@font-face {
  font-family: "loyal-black";
  src: url("./new-fonts/eighties/Eighties-Comeback/OTF/EightiesComeback - Black.otf")
    format("opentype");
}

body {
  background: #fff;
  font-family: "loyal-black";
  margin: 0;
  padding: 0;
}
.centered-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 90vh;
  margin-top: 40px; /* Reduced margin for a more compact look */
}
#step2.centered-container {
  padding-top: 10px;
}
.logo {
  font-family: "loyal";
  color: #e75480;
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 0.2em;
  letter-spacing: 2px;
}
.welcome {
  color: #888;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
.main-question {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 1.2em;
  color: #222;
  text-align: center;
}
.big-btn {
  width: 320px;
  background: #fff;
  border: 2px solid #eab0c7;
  border-radius: 10px;
  font-size: 1.2em;
  font-weight: 600;
  color: #222;
  padding: 18px 0;
  margin-bottom: 18px;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  position: relative;
  outline: none;
  user-select: none;
}
.big-btn .arrow {
  position: absolute;
  right: 18px;
  color: #e75480;
  font-size: 1.3em;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.big-btn:hover {
  border: 2px solid #e75480;
  box-shadow: 0 2px 12px #f8c6d8;
  background: #ffe0ef;
  color: #e75480;
}
.big-btn:hover .arrow {
  color: #e75480;
}
.big-btn:active {
  background: #e75480;
  color: #fff;
  border: 2px solid #e75480;
}
.big-btn:active .arrow {
  color: #fff;
}
.footer {
  text-align: center;
  color: #aaa;
  font-size: 1em;
  margin-top: 40px;
  padding-bottom: 18px;
}
.footer-logo {
  font-family: "loyal-black";
  color: #e75480;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.2em;
  letter-spacing: 1px;
  display: inline-block;
}
.footer-links {
  margin-top: 8px;
  color: #bbb;
  font-size: 0.95em;
}
.footer-links a {
  color: #bbb;
  text-decoration: none;
  margin: 0 8px;
}
.footer-links a:hover {
  color: #e75480;
  text-decoration: underline;
}

.appt-btn {
  width: 100%;
  background: #fff;
  border: 2px solid #eab0c7;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  color: #222;
  padding: 18px 0 18px 18px;
  margin-bottom: 18px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  outline: none;
  user-select: none;
}
.appt-btn .arrow {
  position: absolute;
  right: 38px;
  color: #e75480;
  font-size: 1.3em;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.appt-btn:hover {
  border: 2px solid #e75480;
  box-shadow: 0 2px 12px #f8c6d8;
  background: #ffe0ef;
  color: #e75480;
}
.appt-btn:active {
  background: #e75480;
  color: #fff;
  border: 2px solid #e75480;
}
.appt-btn:active .arrow {
  color: #fff;
}
.appt-btn:active .duration {
  color: #fff;
}

body {
  background: #fff0f6;
  font-family: "loyal-black";
  margin: 0;
  padding: 0;
}
.booking-container {
  max-width: 500px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px #eab0c7;
  padding: 32px 28px 24px 28px;
}
h1 {
  color: #e75480;
  margin-bottom: 0.2em;
  text-align: center;
  font-size: 2.1em;
  letter-spacing: 1px;
}
h2 {
  color: #444;
  margin-top: 0;
  text-align: center;
  font-size: 1.2em;
  font-weight: 400;
  margin-bottom: 1.2em;
}
.form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 12px;
}
.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}
label {
  font-weight: 500;
  margin-bottom: 4px;
  color: #e75480;
}
input,
select {
  padding: 7px 8px;
  border: 1px solid #eab0c7;
  border-radius: 5px;
  font-size: 1em;
  background: #fff8fb;
  margin-bottom: 2px;
}
.btn {
  background: #e75480;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 18px;
  font-size: 1em;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s;
}
.btn:hover {
  background: #c13b67;
}
#slots {
  margin-top: 24px;
  text-align: center;
}
/* Calendar + Time Section */
.calendar-time-box {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  margin: 24px auto 30px auto;
  width: 100%;
  max-width: 700px;
}

/* Calendar column */
.calendar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calendar-label {
  font-weight: 600;
  color: #e75480;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.calendar-input {
  padding: 10px 12px;
  border: 2px solid #eab0c7;
  border-radius: 10px;
  font-size: 1.1em;
  background: #fff8fb;
  cursor: pointer;
}

/* Time column */
.time-col {
  flex: 1;
  text-align: left;
}

#available-times-label {
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  font-size: 1.1em;
}

#available-times {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.time-btn {
  background: #fff;
  border: 2px solid #eab0c7;
  border-radius: 8px;
  color: #222;
  font-size: 1em;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-btn:hover {
  border: 2px solid #e75480;
  background: #ffe0ef;
  color: #e75480;
}

.time-btn.selected {
  background: #e75480;
  color: #fff;
  border: 2px solid #e75480;
}

/* Back + Next buttons row */
.step-btn-row {
  display: flex;
  justify-content: space-between;
  width: 360px;
  margin: 20px auto 0 auto;
}

.back-btn,
.next-btn {
  background: #fff;
  color: #e75480;
  border: 2px solid #eab0c7;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  padding: 10px 34px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-btn:hover,
.next-btn:hover:enabled {
  background: #e75480;
  color: #fff;
  border: 2px solid #e75480;
}

.next-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive styles for mobile devices */
@media (max-width: 600px) {
  .centered-container,
  .booking-container {
    max-width: 98vw;
    padding: 18px 4vw 0 4vw;
    margin-top: 18px;
    box-sizing: border-box;
  }

  .calendar-time-box {
    flex-direction: column;
    gap: 24px;
    max-width: 100vw;
    width: 100%;
    margin: 16px 0 18px 0;
  }

  .calendar-col,
  .time-col {
    width: 100%;
    align-items: stretch;
  }

  .step-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin: 16px 0 0 0;
  }

  .back-btn,
  .next-btn {
    width: 100%;
    padding: 10px 0;
    font-size: 1em;
  }

  .big-btn,
  .appt-btn {
    width: 100%;
    font-size: 1em;
    padding: 14px 0 14px 12px;
    min-width: unset;
  }

  .big-btn .arrow,
  .appt-btn .arrow {
    right: 12px;
    font-size: 1.1em;
  }

  h1 {
    font-size: 1.4em;
  }

  h2 {
    font-size: 1em;
  }

  .main-question {
    font-size: 1.1em;
  }

  .footer {
    font-size: 0.95em;
    margin-top: 18px;
    padding-bottom: 10px;
  }

  .form-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }

  .calendar-label,
  #available-times-label {
    font-size: 1em;
  }

  #available-times {
    gap: 8px;
  }

  .time-btn {
    font-size: 0.95em;
    padding: 8px 10px;
  }
}
