@import url("../index.scss");

.digit-card-input-error {
  @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
}
.digit-text-input {
  @apply relative w-full;
}

.digit-text-input-width {
  max-width: 540px;
}
.digit-card-input {
  @apply mb-lg pl-sm outline-none mt-sm block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
}

.digit-card-input-error {
  @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
}

.digit-employee-card-input {
  @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
}
.digit-employee-card-input:disabled {
  @apply border-grey-dark text-grey-dark !important;
  pointer-events: none !important;
}
.digit-employee-card-input--front {
  width: fit-content !important;
  display: flex;
  align-items: center;
  background: theme(colors.grey.mid);
  border-right: 0;
  padding-right: 5px;
}
.digit-employee-card-input-error {
  @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
}

.digit-card-textarea,
.digit-employee-card-textarea {
  @apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
}

.digit-inputWrapper {
  display: flex;
  justify-content: flex-start;
  max-width: 500px;

  div {
    max-width: 80px;
  }

  span {
    margin-top: 16px;
    margin-left: 10%;
    margin-right: 10%;
  }
}

@screen dt {
  .digit-card-input {
    width: 480px;
  }

  .digit-card-input-emp {
    width: 240px;
  }

  .digit-card-input-error {
    width: 480px;
  }

  .digit-employee-card-input {
    @apply w-full;
  }

  .digit-employee-card-input-error {
    @apply w-full;
  }

  .digit-card-textarea {
    /* //width: 480px; */
    @apply w-full;
    max-width: 540px;
  }

  .digit-employee-card-textarea {
    @apply w-full;
  }

  .card-input-emp {
    width: 240px;
  }
}

.digit-citizen-card-input {
  @apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
}

.digit-citizen-card-input--front {
  width: fit-content !important;
  display: flex;
  align-items: center;
  background: theme(colors.grey.mid);
  border-right: 0;
  padding-right: 5px;
}

.digit-employee-card-input-error {
  @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
  @extend .light-input-border;
  @extend .alert-error;
}
.digit-card-input-error {
  @apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
  @extend .light-input-border;
  @extend .alert-error;
}
.disabled {
  @apply border-grey-dark text-grey-dark !important;
  pointer-events: none !important;
}
