@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;700&display=swap");

.booking-form {
  font-family: "Quicksand", sans-serif;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
}
.booking-form h3 {
  background: linear-gradient(45deg, #000, #333);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 25px;
}
.booking-form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
  color: #000;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  font-family: "Quicksand", sans-serif;
  width: 100%;
  border: 1px solid #000;
  border-radius: 4px;
  color: #000;
}
.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: #666;
}
.booking-form input[type="submit"] {
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  font-family: "Quicksand", sans-serif;
}
.booking-form input[type="submit"]:hover {
  background: #e65c00;
}
.booking-form input[type="submit"][disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.booking-form .row-group {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.booking-form .row-group .column {
  flex: 1;
}
.booking-form .row-group label {
  margin-top: 0;
}
.booking-form input[type="date"],
.booking-form input[type="time"] {
  height: 42px;
}
#service-summary {
  background: #f0f0f0;
  border-left: 4px solid #ff6600;
  padding: 10px;
  color: #333;
  font-weight: bold;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .cantren {
    margin-top: -20px;
  }
  .cantren1 {
    margin-top: -10px;
  }
}
@media (max-width: 768px) {
  .booking-form .row-group {
    flex-direction: column;
  }
}
.booking-form .payment-method {
  margin-top: 20px;
}
.booking-form .payment-method label {
  font-weight: bold;
  color: #000;
  margin: 15px 0 5px;
  display: block;
}
.booking-form .payment-method .radio-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.booking-form .payment-method input[type="radio"] {
  accent-color: #ff6600;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.booking-form .payment-method span {
  font-family: "Quicksand", sans-serif;
  color: #000;
  font-weight: 500;
  cursor: pointer;
}

/* Slot styles */
.rb-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.rb-slot {
  background: #f3f4f6;
  color: #111;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 10px;
}
.rb-slot.active {
  background: #2271b1;
  color: #fff;
  border-color: #1e62a1;
}
.rb-slot[disabled],
.rb-slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.rb-loading {
  font-style: italic;
  color: #666;
}
#rb-response {
  margin-top: 10px;
}
#rb-response.success {
  color: #0a7d0a;
}
#rb-response.error {
  color: #b11d1d;
}

/* Booked list */
.rb-booked-list {
  margin-top: 8px;
}
.rb-booked-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rb-booked-item {
  background: #ffebee; /* Light red background to indicate locked/booked */
  border: 1px solid #ef5350; /* Red border */
  border-radius: 12px;
  padding: 6px 10px;
  color: #c62828; /* Darker red text for better contrast */
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.rb-booked-item::before {
  content: "🔒"; /* Lock icon to indicate booked */
  margin-right: 4px;
  font-size: 12px;
}
.rb-loading {
  font-style: italic;
  color: #666;
}
#rb-response {
  margin-top: 10px;
}
#rb-response.success {
  color: #0f5132;
  background: #d1e7dd;
  border: 1px solid #badbcc;
  border-left: 4px solid #0f5132;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 600;
}
#rb-response.error {
  color: #842029;
  background: #f8d7da;
  border: 1px solid #f5c2c7;
  border-left: 4px solid #842029;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 600;
}
