/* Container */
.booking-container {
  max-width: 700px;
  margin: 2rem auto 4rem auto;
  padding: 1.5rem 2rem;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}

/* Logo */
.booking-container img {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 180px;
  height: auto;
}

/* Main heading */
.booking-container h1 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #007acc;
}

/* Paragraphs inside how-to-book */
.how-to-book > p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  color: #333;
  text-align: center;
}

.how-to-book > p a {
  color: #007acc;
  text-decoration: none;
  font-weight: 600;
}

.how-to-book > p a:hover,
.how-to-book > p a:focus {
  text-decoration: underline;
}

/* Ordered lists */
.how-to-book ol,
.booking-container > ol {
  margin-left: 1.2rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin-right: auto;
  margin-left: auto;
  padding-left: 1rem;
}

/* How to book section */
.how-to-book {
  background-color: #e6f2ff;
  padding: 1rem 1.3rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid #b3d1ff;
}

.how-to-book h2 {
  margin-top: 0;
  color: #004a99;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Success and error messages */
.success-message,
.error-message {
  max-width: 480px;
  margin: 1rem auto 2rem auto;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Form */
form {
  max-width: 480px;
  margin: 0 auto;
}

form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
  color: #333;
}

form input[type="text"],
form input[type="tel"],
form input[type="email"],
form input[type="date"],
form select {
  width: 100%;
  padding: 0.5rem 0.7rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="tel"]:focus,
form input[type="email"]:focus,
form input[type="date"]:focus,
form select:focus {
  border-color: #007acc;
  outline: none;
}

/* Submit button */
.cta-btn {
  display: inline-block;
  background-color: #007acc;
  color: white;
  padding: 0.65rem 1.4rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease;
  width: 100%;
  max-width: 200px;
  margin: 1rem auto 0 auto;
  display: block;
}

.cta-btn:hover,
.cta-btn:focus {
  background-color: #005f99;
  outline: none;
}

/* Link styled as button (back link) */
.success-message a.cta-btn {
  margin-top: 1rem;
  display: inline-block;
  width: auto;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .booking-container {
    margin: 1rem;
    padding: 1rem 1.2rem;
  }
  form {
    max-width: 100%;
  }
  .cta-btn {
    max-width: 100%;
  }
}
