#dcb-postal-form {
  max-width: 400px;
  margin: auto;
  padding: 20px;
  border-radius: 5px;
  font-size: 20px;
  border: none;
}

#dcb-postal-form label {
  display: block;
  margin: 10px 10px 17px 10px;
}

#dcb-postal-form input {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 50px;
  padding: 15px;
  background: transparent;
  font-size: 18px;
}

#dcb-postal-form button {
  background-color: #01c2ce;
  padding: 15px 60px;
  border-radius: 50px;
  margin-top: 10px;
  border: none;
  cursor: pointer;
}

/* =======================
   COURSE FORM STYLES
   ======================= */

/* --- Course Cards --- */
.course-card {
  background: #ffffff;
  border: 2px solid #cfd8dc;
  border-radius: 16px;
  padding: 25px;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.course-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.course-card .hours {
  background: #008060;
  color: white;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 16px;
  display: inline-block;
  margin-bottom: 10px;
}

.course-card h3 {
  font-size: 22px;
  margin: 10px 0 15px;
  font-weight: 700;
  color: #333;
}

.course-card .price-info {
  background: #f4f6f8;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.course-card .price-info strong {
  font-size: 24px;
  color: #008060;
}

.course-card .price-info p {
  margin: 5px 0;
  color: #333;
}

.course-card .about,
.course-card .ideal {
  margin-bottom: 20px;
}

.course-card .about h4,
.course-card .ideal h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}

.course-card ul {
  list-style: none;
  padding: 0;
}

.course-card ul li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.course-card ul li::before {
  content: "✔️";
  margin-right: 8px;
  color: #008060;
}

.course-card .book-button,
.course-card .spread-cost {
  display: inline-block;
  margin: 5px 0;
  text-align: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s ease;
  width: 100%;
}

.course-card .book-button {
  background: #008060;
  color: white;
  margin-bottom: 10px;
}

.course-card .book-button:hover {
  background: #00664d;
}

.course-card .spread-cost {
  background: transparent;
  color: #008060;
  border: 2px solid #008060;
}

.course-card .spread-cost:hover {
  background: #d6f5ec;
}

/* --- Filters (Top Options) --- */
.course-options-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  justify-content: center;
}

.course-option {
  background: white;
  border: 2px solid #cfd8dc;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-size: 16px;
}

.course-option:hover {
  border-color: #008060;
}

.course-option input[type="radio"],
.course-option input[type="checkbox"] {
  display: none;
}

.course-option.selected {
  border-color: #008060;
  background: #d6f5ec;
  color: #008060;
}

.course-option label {
  margin: 0;
  cursor: pointer;
}

.course-option-tooltip {
  background: #555;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.course-option:hover .course-option-tooltip {
  opacity: 1;
  visibility: visible;
}

/* --- Search Bar (Postcode Search) --- */
.course-search-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.course-search-bar input[type="text"] {
  padding: 10px 15px;
  border: 2px solid #cfd8dc;
  border-radius: 8px;
  font-size: 16px;
  width: 200px;
}

.course-search-bar button {
  background-color: #008060;
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.course-search-bar button:hover {
  background-color: #00664d;
}

.course-search-bar input[type="checkbox"] {
  margin-left: 10px;
}

/* ======================= */