.custom-form {
/*  background-color: #E5E5E5;*/
  /* Background color */
/*  padding: 20px;*/
  border-radius: 8px;
/*  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);*/
  /* Shadow */
  color: white;
  /* Text color */
  font-size: 17px;
  /* Font size */
}

.custom-form label {
  color: black;
  ;
  /* Label text color */
  text-align: left;
  display: block;
}

.custom-form .form-control {
  background-color: #f8f9fa;
  /* Light background for input fields */
  color: #000;
  /* Dark text for input fields */
  font-size: 17px;
  /* Font size for input fields */
  border: none;
  border-radius: 4px;
  padding: 10px;
}

.custom-form .form-control:focus {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  /* Input focus effect */
  border-color: #80bdff;
  outline: none;
}

.custom-form .btn-primary {
  background-color: black;
  /* Button color */
  color: white;
  font-size: 17px;
  /* Button font size */
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  width: 100%;
}

.custom-form .btn-primary:hover {
  background-color: #5e5e5e;
}

.required-indicator {
  color: red;
}

/* Center the submitting indicator on the form */
#submitting-indicator {
  display: none;
  /* Initially hidden */
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: center;
  position: absolute;
  /* top: 50%;  Center vertically */
  left: 50%;
  /* Center horizontally */
  transform: translate(-50%, -50%);
  /* Adjust for proper centering */
}

.spinner {
  border: 4px solid #f3f3f3;
  /* Light grey */
  border-top: 4px solid #3498db;
  /* Blue */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-left: 10px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Style for success message */
#success-message {
  background-color: white;
  display: none;
  /* Initially hidden */
  font-size: 18px;
  font-weight: bold;
  color: green;
  text-align: center;
  margin-top: 10px;
  width: 50%;
  left: 50%;
}

#success-message2 {
  display: flex;
  justify-content: center;
  justify-items: center;
}

/* Ensure the form has position: relative for the indicator to center */
#custom-lead-form {
  position: relative;
}

.captcha {
  text-align: left;
  display: block;
}
