@charset "utf-8";

/* ========== General Form Styling ========== */
input,
textarea,
select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #003e6b;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

/* ========== On Focus ========== */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #0072ce; /* Enetgize blue or similar */
  box-shadow: 0 0 0 2px rgba(0, 114, 206, 0.2);
}

/* ========== Remove Native Invalid Styles ========== */
input:invalid,
textarea:invalid,
select:invalid {
  background-color: #fff !important;
  border-color: #ccc !important;
  box-shadow: none !important;
}

/* ========== Error Styling (Optional Enhancement) ========== */
input.error,
textarea.error,
select.error {
  border-color: #cc0033;
  background-color: #fff;
}

/* ========== Labels (optional for spacing and alignment) ========== */
form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #003e6b;
}

/* ========== Submit Button ========== */
form input[type="submit"],
form button[type="submit"] {
  background-color: #003e6b;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

form input[type="submit"]:hover,
form button[type="submit"]:hover {
  background-color: #00579e;
}
