.lyb-booking {
  max-width: 980px;
  margin: 2rem auto;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #f1d7e2;
  border-radius: 8px;
}

.lyb-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.lyb-step {
  font-size: 0.85rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: 6px;
  background: #f8f2f5;
  color: #5b4a52;
}

.lyb-step.is-active {
  background: #c7588a;
  color: #fff;
}

.lyb-panel h3,
.lyb-panel h4 {
  margin: 0.8rem 0;
}

.lyb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.lyb-choice,
.lyb-slot {
  border: 1px solid #e0c3d0;
  background: #fff;
  border-radius: 6px;
  padding: 0.65rem;
  text-align: left;
  cursor: pointer;
}

.lyb-choice-service {
  display: grid;
  gap: 0.2rem;
}

.lyb-choice.is-selected,
.lyb-slot.is-selected {
  border-color: #c7588a;
  background: #fdeef5;
}

.lyb-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.lyb-booking .lyb-btn {
  border: 1px solid #c7588a;
  background-color: #c7588a;
  color: #fff;
  padding: 0 20px;
  line-height: 40px;
  border-radius: 0.25rem;
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  font-size: 1rem;
  text-decoration: none;
}

#lyb-booking-root .lyb-btn {
  background-color: #c7588a;
  color: #fff;
}

.lyb-booking .lyb-btn:hover {
  background-color: #fff;
  color: #c7588a;
}

.lyb-booking .lyb-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.lyb-booking .lyb-btn:disabled:hover {
  background-color: #c7588a;
  color: #fff;
}

.lyb-booking .lyb-btn.lyb-btn-light {
  background-color: transparent;
  color: #c7588a;
}

#lyb-booking-root .lyb-btn.lyb-btn-light {
  background-color: transparent;
  color: #c7588a;
}

.lyb-booking .lyb-btn.lyb-btn-light:hover {
  background-color: #c7588a;
  color: #fff;
}

.lyb-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.lyb-weekdays,
.lyb-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.4rem;
}

.lyb-weekdays div {
  text-align: center;
  color: #7d6872;
  font-size: 0.85rem;
}

.lyb-day {
  border: 1px solid #ead5de;
  background: #fff;
  border-radius: 6px;
  height: 42px;
  cursor: pointer;
}

.lyb-day.is-selected {
  background: #c7588a;
  border-color: #c7588a;
  color: #3b2f35;
  font-weight: bold;
}

.lyb-day.is-empty,
.lyb-day:disabled {
  opacity: 0.4;
  cursor: default;
}

.lyb-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

.lyb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.lyb-form-grid label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}

.lyb-form-grid input,
.lyb-form-grid textarea {
  border: 1px solid #d8bcc9;
  border-radius: 6px;
  padding: 0.55rem;
}

.lyb-form-grid input.lyb-invalid,
.lyb-form-grid textarea.lyb-invalid {
  border-color: #c0392b;
  outline-color: #c0392b;
}

.lyb-field-error {
  font-size: 0.82rem;
  color: #c0392b;
  min-height: 1.1em;
}

.lyb-field-error:empty {
  display: none;
}

.lyb-full {
  grid-column: 1 / -1;
}

.lyb-overview,
.lyb-confirmation {
  border: 1px solid #ebd4de;
  background: #fff8fb;
  border-radius: 6px;
  padding: 1rem;
}

.lyb-error {
  margin-top: 1rem;
  padding: 0.6rem;
  border-radius: 6px;
  background: #ffe8ee;
  color: #9f254f;
}

.lyb-email-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #f5c2a0;
  background: #fff7f0;
  color: #7a3a00;
  font-size: 0.92rem;
}

.lyb-email-error ul {
  margin: 0.4rem 0 0.4rem 1.2rem;
  padding: 0;
  font-size: inherit;
}

.lyb-email-error-note {
  margin: 0.4rem 0 0;
  padding: 0;
}

@media (max-width: 767px) {
  .lyb-steps {
    grid-template-columns: 1fr;
  }

  .lyb-form-grid {
    grid-template-columns: 1fr;
  }

  .lyb-actions {
    flex-direction: column;
  }
}
