/* Estilo base */
.NV_Form {
  padding: 0 3px;
  box-shadow: none !important;
  font-family: 'League Spartan', sans-serif !important;
  /* corregimos css de la plantilla que pone bordes rojos por defecto */
  /* Chrome, Safari, Edge, Opera */
  /* Firefox */
}
.NV_Form input[type="hidden" i] {
  display: block !important;
}
.NV_Form * {
  box-sizing: border-box;
}
.NV_Form .NV__inputForm {
  position: relative;
  overflow: hidden;
  /* Estilos al hacer focus o cuando hay contenido */
  /* Ajuste para textareas */
  /* Asegurar que el placeholder-shown funcione en input */
}
.NV_Form .NV__inputForm label {
  position: absolute;
  top: 15px;
  left: 10px;
  font-size: 16px;
  color: #666;
  transition: all 0.3s ease;
  pointer-events: none;
}
.NV_Form .NV__inputForm input,
.NV_Form .NV__inputForm textarea,
.NV_Form .NV__inputForm select {
  width: 100%;
  font-size: 16px;
  height: 42px;
  padding: 7px;
  padding-top: 11px !important;
  background: transparent;
}
.NV_Form .NV__inputForm select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.NV_Form .NV__inputForm.has-content label,
.NV_Form .NV__inputForm.has-content label,
.NV_Form .NV__inputForm.has-content label {
  top: 4px;
  left: 8px;
  font-size: 12px;
  color: #959595;
}
.NV_Form .NV__inputForm.has-content textarea {
  padding-top: 18px;
}
.NV_Form .NV__inputForm textarea {
  min-height: 75px;
  resize: vertical;
}
.NV_Form .NV__inputForm input,
.NV_Form .NV__inputForm textarea {
  position: relative;
}
.NV_Form .NV__inputForm input::placeholder,
.NV_Form .NV__inputForm textarea::placeholder {
  opacity: 0;
}
.NV_Form .NV__inputForm * {
  box-sizing: border-box;
}
.NV_Form .NV__inputForm input,
.NV_Form .NV__inputForm textarea,
.NV_Form .NV__inputForm .NV_formCheckbox {
  border: 1px solid #695858;
  border-radius: 0.25rem;
  margin-bottom: 0.25rem;
  margin-top: 0.25rem;
}
.NV_Form .NV__inputForm input.just-validate-error-field,
.NV_Form .NV__inputForm textarea.just-validate-error-field,
.NV_Form .NV__inputForm .NV_formCheckbox.just-validate-error-field {
  background-image: url('data:image/svg+xml;utf8,<svg fill="red" viewBox="0 0 16 16" height="16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.001 4h2v4h-2V4zm0 6h2v2h-2v-2z"/><path d="M8 0a8 8 0 100 16A8 8 0 008 0zm0 1.5a6.5 6.5 0 110 13 6.5 6.5 0 010-13z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  padding-right: 30px;
  border-color: #b81111;
}
.NV_Form .NV__inputForm input.just-validate-error-field:invalid,
.NV_Form .NV__inputForm textarea.just-validate-error-field:invalid,
.NV_Form .NV__inputForm .NV_formCheckbox.just-validate-error-field:invalid {
  border-color: #b81111 !important;
}
.NV_Form .NV__inputForm.calle_numero {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 1rem;
}
.NV_Form .group.NV_formCheckbox {
  margin-bottom: 0.5rem;
  background-color: #efeded;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
  padding: 1rem;
  border: 1px solid #695858;
}
.NV_Form input[type=text]:focus,
.NV_Form input[type=number]:focus,
.NV_Form input[type=email]:focus,
.NV_Form input[type=tel]:focus,
.NV_Form textarea:focus {
  --tw-border-opacity: initial !important;
  --tw-ring-offset-shadow: initial !important;
  --tw-ring-shadow: initial !important;
  --tw-ring-opacity: initial !important;
  --tw-ring-color: initial !important;
  border-color: initial !important;
  box-shadow: none !important;
  outline: none !important;
  outline-offset: 0 !important;
  border: 2px solid #B01D29 !important;
}
.NV_Form input[type=text]:focus.just-validate-error-field,
.NV_Form input[type=number]:focus.just-validate-error-field,
.NV_Form input[type=email]:focus.just-validate-error-field,
.NV_Form input[type=tel]:focus.just-validate-error-field,
.NV_Form textarea:focus.just-validate-error-field {
  background-image: url('data:image/svg+xml;utf8,<svg fill="red" viewBox="0 0 16 16" height="16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.001 4h2v4h-2V4zm0 6h2v2h-2v-2z"/><path d="M8 0a8 8 0 100 16A8 8 0 008 0zm0 1.5a6.5 6.5 0 110 13 6.5 6.5 0 010-13z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 16px;
  padding-right: 30px;
}
.NV_Form input[type=email]:invalid,
.NV_Form input[type=text]:invalid,
.NV_Form input[type=number]:invalid,
.NV_Form input[type=tel]:invalid,
.NV_Form textarea:invalid {
  border-color: unset !important;
  color: unset !important;
}
.NV_Form input[type="number"]::-webkit-outer-spin-button,
.NV_Form input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.NV_Form input[type="number"] {
  -moz-appearance: textfield;
}
.NV_Form .NV_formBadget {
  width: 70px;
  height: calc(100% - 0.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #B01D29;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
  position: absolute;
  top: 0.25rem;
  right: -80px;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  transition: all 0.3s ease;
  padding-top: 3px;
}
.NV_Form .has-content .NV_formBadget {
  right: 0;
}
.NV_Form div.pretty label::before {
  top: -4px;
  background: #fff;
}
.NV_Form div.pretty label {
  text-wrap: wrap;
}
.NV_Form div.pretty i.icon,
.NV_Form div.pretty span.icon {
  top: -6px !important;
  font-size: 26px !important;
  left: -3px !important;
}
.NV_Form div.pretty i.icon::before,
.NV_Form div.pretty span.icon::before {
  font-family: "Material Design Icons";
}
.NV_Form .NV_FormSubmit__Btn {
  margin-top: 20px;
  background-color: #B01D29;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  padding-top: 12px;
  font-size: 18px;
  line-height: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}
.NV_Form .NV_FormSubmit__Btn span {
  line-height: 18px;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.NV_Form .NV_FormSubmit__Btn:hover {
  gap: 15px;
  background-color: #a4010e;
}
.NV_Form .group {
  padding-top: 25px;
}
.NV_Form .group p {
  padding-top: 0;
}
.NV_Form .group .group-container p {
  padding-top: 0;
}
#NV__autofillForm__btn {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9999;
  background-color: #B01D29;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
}
form .cols-form-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media screen and (max-width: 768px) {
  form .cols-form-2 {
    grid-template-columns: 1fr;
  }
}
/* Estilos para mensajes de error de JustValidate */
.just-validate-error-label {
  color: #b81111 !important;
  font-size: 13px !important;
  margin-top: 4px !important;
  display: block !important;
  font-weight: 500 !important;
}
.just-validate-success-label {
  display: none !important;
}
/* Estilo para asterisco de campos obligatorios */
.required-asterisk {
  color: #B01D29 !important;
  font-weight: bold;
  margin-left: 2px;
}
/* #form-locales.NV_Form {
	div.pretty {

		i.icon,
		span.icon {
			font-size: 24px !important;
		}
	}
} */
