/* General Reset & Body */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: #f5f6fa;
  color: #333;
}

/* Main Form Container */
.booking-form {
  max-width: 700px;
  margin: 40px auto;
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Headings and Text */
.booking-form h3,
.booking-form h4 {
  margin-bottom: 20px;
  color: #2c3e50;
  border-bottom: 1px solid #ecf0f1;
  padding-bottom: 10px;
}

.booking-form p {
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Form Groups and Labels */
.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 0.9rem;
  color: #34495e;
}

.form-group input:not([type="checkbox"]):not([type="file"]),
.form-group select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #2980b9;
  box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1);
  outline: none;
}

.form-group small {
  font-size: 0.85rem;
  color: #777;
  margin-top: 6px;
  display: block;
}

/* Checkbox Styling */
.form-group.checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.form-group.checkbox input[type="checkbox"] {
  margin-top: 5px;
  margin-right: 10px;
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
}

.form-group.checkbox label {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Signature Pad */
#signature-pad {
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fdfdfd;
  width: 100%;
  height: 200px;
  cursor: crosshair;
  margin-bottom: 10px;
}

#clear-signature {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

#clear-signature:hover {
  background-color: #c0392b;
}

/* Submit Button */
.submit-btn {
  background-color: #2980b9;
  color: white;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background-color: #1f5f8b;
}

/* NEW CLASS TO FIX LAYOUT */
.field-hidden {
  display: none;
}