/* Booking Form Styles */
.booking-form {
  max-width: 700px;
  margin: 0 auto;
}

.booking-form .form-group {
  margin-bottom: 1.5rem;
}

.booking-form .form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

.booking-form .form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.booking-form .form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.booking-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.service-card {
  cursor: pointer;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.service-card.selected {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.service-card__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-card__content {
  display: flex;
  flex-direction: column;
}

.service-card__image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.service-card__placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.service-card__info {
  padding: 1rem;
}

.service-card__title {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.service-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.service-card__duration,
.service-card__price {
  display: inline-block;
}

.service-card__mode {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-online {
  background: #d1fae5;
  color: #065f46;
}

.badge-offline {
  background: #fef3c7;
  color: #92400e;
}

/* DateTime Picker */
.datetime-picker .form-input {
  font-family: inherit;
}

/* Form Actions */
.form-actions {
  margin-top: 2rem;
}

/* Error Messages */
.error-messages {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #dc2626;
}

/* Responsive */
@media (max-width: 640px) {
  .booking-form .form-row {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }
}
