.recaptcha-mobile-hide {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.grid-form select:disabled,
.grid-form .form-group input:disabled,
.grid-form textarea:disabled {
  border: 1px solid #f1cfcf;
  background-color: #f5f5f5;
  opacity: 0.6;
}

/* Disabled state sau khi submit thành công — override cả mobile */
form.form-submitted .autocomplete-input,
form.form-submitted input,
form.form-submitted textarea {
  background-color: #f0f0f0 !important;
  background-image: none !important;
  color: #aaa !important;
  border-color: #e0e0e0 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}
@media screen and (max-width: 768px) {
  form.form-submitted .autocomplete-input,
  form.form-submitted input,
  form.form-submitted textarea {
    background-color: #f0f0f0 !important;
    background-image: none !important;
    color: #aaa !important;
    border-color: #e0e0e0 !important;
    border: 1px solid #e0e0e0 !important;
  }
}

/* Form đã submit thành công — disable toàn bộ */
form.form-submitted {
  pointer-events: none;
}

form.form-submitted input,
form.form-submitted textarea,
form.form-submitted select {
  background-color: #f0f0f0 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  border-color: #e0e0e0 !important;
}

form.form-submitted button {
  background: #d0d0d0 !important;
  opacity: 0.6 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
