/* Set a full-page background image */
body.page-node-type-booking, 
form#custom_booking_form {
  background: linear-gradient(to right, #f0f4f8, #d9e2ec);
}

/* Center form container */
form#custom_booking_form {
  max-width: 800px;
  margin: 40px auto;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.95); /* White with slight transparency */
  border-radius: 10px;
  border: 1px solid #ccc;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Title */
.booking-title{
font-size: 32px; /* Slightly larger for emphasis */
font-weight: 700; /* Bold for prominence */
margin-bottom: 25px;
text-align: center;
color: #1f86ec;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
padding: 10px 20px; /* Adds breathing space */
font-family: 'Segoe UI', 'Helvetica Neue', sans-serif; /* Clean, modern font */
}


/* Form items */
form#custom_booking_form .form-item {
  margin-bottom: 20px;
}

form#custom_booking_form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #333;
}

form#custom_booking_form input[type="text"],
form#custom_booking_form input[type="email"],
form#custom_booking_form input[type="number"],
form#custom_booking_form input[type="date"],
form#custom_booking_form select {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  background: #fff;
}

/* Privacy */
.privacy-label {
  font-size: 14px;
  display: inline-block;
  margin-right: 10px;
}

.privacy-label a {
  color: #007bff;
  text-decoration: none;
}

.privacy-label a:hover {
  text-decoration: underline;
}

/* Buttons */
form#custom_booking_form input[type="submit"],
form#custom_booking_form input[type="button"] {
  background-color: #2980b9;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form#custom_booking_form input[type="submit"]:hover {
  background-color: #1c5980;
}

/* Guest fieldset */
fieldset {
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #fefefe;
  border-radius: 6px;
}

fieldset legend {
  font-weight: bold;
  padding: 0 10px;
  color: #2c3e50;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  form#custom_booking_form {
    padding: 20px;
    margin: 20px;
  }

  form#custom_booking_form input[type="submit"] {
    width: 100%;
  }
}