/* ======= Booking Wizard Container ======= */
#lb-booking-wizard {
  max-width: 600px;
  width: 95%;
  margin: 40px auto;
  font-family: 'Arial', sans-serif;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

/* ======= Progress Bar ======= */
.lb-progress-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 25px;
}

.lb-progress-bar .lb-step {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-bottom: 3px solid #eee;
  color: #777;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  transition: all 0.3s;
}

.lb-progress-bar .lb-step.active {
  border-color: #4caf50;
  color: #4caf50;
  background: #f0fff0;
  font-weight: 600;
}

/* ======= Location Cards ======= */
.lb-location-card {
  border: 1px solid #ddd;
  padding: 14px;
  margin: 8px 0;
  border-radius: 10px;
  background: #fafafa;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.lb-location-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.lb-location-card.active {
  border: 2px solid #4caf50;
  background: #e9f9e9;
}

/* ======= Buttons ======= */
.lb-next,
.lb-prev,
.lb-submit {
  background: #4caf50;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin: 15px 6px 0 0;
  transition: all 0.3s;
}
.lb-prev {
  background: #e6e6e6;
  color: #333;
}
.lb-next:hover,
.lb-submit:hover {
  background: #45a049;
}

/* ======= Calendar ======= */
#lb-calendar-wrapper {
  width: 100%;
  overflow-x: auto;
  text-align: center;
}

#lb-calendar {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 15px;
  box-sizing: border-box;
  transform: scale(0.95);
  transform-origin: center;
}

/* Month Navigation */
.lb-month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.lb-month-nav button {
  background: transparent;
  color: #4caf50;
  border: 1px solid #4caf50;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.lb-month-nav button:hover {
  background: #4caf50;
  color: #fff;
}

/* Calendar Grid */
.lb-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 600;
  color: #555;
  font-size: 12px;
  margin-bottom: 4px;
}
.lb-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.lb-dates div {
  padding: 5px;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  background: #fff;
}
.lb-dates div.disabled {
  background: #f5f5f5;
  color: #aaa;
  cursor: not-allowed;
}
.lb-dates div.empty {
  background: transparent;
  border: none;
  cursor: default;
}
.lb-dates div.active {
  background: #4caf50;
  color: #fff;
  font-weight: 600;
}
.lb-dates div:not(.disabled,.empty):hover {
  background: #d8f7d8;
}

/* ======= Time Slots ======= */
#lb-timeslots {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.lb-slot {
  padding: 10px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
  width: 150px;
  text-align: center;
  transition: all 0.2s;
}
.lb-slot.active {
  background: #4caf50;
  color: #fff;
  border-color: #4caf50;
  box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}
.lb-slot:hover {
  background: #e9f9e9;
}

/* Booked/disabled slots */
.lb-slot.disabled {
  background: #f1f1f1;
  color: #999;
  border-color: #ddd;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ======= Form ======= */
.lb-form-row {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
}
.lb-form-row label {
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}
.lb-form-row input,
.lb-form-row textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}
.lb-form-row input:focus,
.lb-form-row textarea:focus {
  border-color: #4caf50;
  outline: none;
}
.required-star {
  color: red;
  margin-left: 3px;
  font-weight: bold;
}

/* message */
#lb-message {
  margin-top: 12px;
  font-weight: 600;
}
