.form-control {
  width: 100%;
  height: var(--spacing-10);
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.375rem;
  font-size: var(--font-size-sm);
  transition: all 0.2s ease;
  color: var(--gray-900);
  background-color: var(--gray-25);
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--blue-300);
}

/* Tamanhos dos inputs */
.input-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.input-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.input-md {
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.input-lg {
  padding: 0.75rem 1.25rem;
  font-size: 1.125rem;
}

.input-xl {
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
}

/* Estados dos inputs */
.input-focus {
  box-shadow: 0 0 0 2px var(--blue-300);
}

.input-error {
  border-color: var(--error-500);
  box-shadow: 0 0 0 2px var(--error-25);
}

.input-success {
  border-color: var(--success-500);
  box-shadow: 0 0 0 2px var(--success-25);
}

.form-control:disabled, .form-control.disabled {
  background-color: var(--gray-100);
  cursor: not-allowed;
  color: var(--gray-400);
}

/* Inputs com ícones */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  color: var(--gray-500);
  font-size: 1rem;
}

.input-with-icon i:first-child {
  left: 0.75rem;
}

.input-with-icon i:last-child {
  right: 0.75rem;
}

.input-with-icon input {
  padding-left: 2.5rem;
}

.input-with-icon input:last-child {
  padding-right: 2.5rem;
}

/* Fields with error */
.field_with_errors{
  width: 100%;
}

.field_with_errors input{
  border-color: var(--error-500);
}

.readonly-disabled-style {
  background-color: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
  opacity: 0.65;
}

.readonly-disabled-style:focus {
  background-color: var(--gray-100);
  color: var(--gray-500);
  border-color: var(--gray-300);
  box-shadow: none;
}