/* Search form container with background image and dark overlay */
.address-search-form {
  background-image: url('/sites/default/files/inline-images/Castlepoint.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Dark overlay for better readability */
.address-search-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  z-index: 0;
}

/* Ensure elements are positioned above the overlay */
.address-search-form * {
  position: relative;
  z-index: 1;
}

/* Title styling */
.address-search-form h1 {
  color: white;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Description styling */
.address-search-form .description {
  color: white;
  font-style: italic;
  margin-bottom: 15px;
}

/* Label styling */
.address-search-form label {
  color: white;
  font-weight: bold;
}

/* Input field styling */
.address-search-form input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Submit button styling with white border */
.address-search-form input[type="submit"] {
  background-color: #333;
  color: white;
  border: 2px solid white; /* White border */
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Submit button hover styling */
.address-search-form input[type="submit"]:hover {
  background-color: #444;
  border-color: #ddd; /* Lighter border on hover */
}

/* Additional styling to hide unwanted titles */
.address-search-form .block-title {
  display: none; /* Hides the 'Chorus Broadband Checker Block' title */
}

.messages--error {
    color: white;
    background-color: #f44336;
    padding: 15px;
    border-radius: 4px;
}
