/* stylelint-disable property-no-vendor-prefix */

/** ************************
 * Copyright Monkey Exchange. All Rights Reserved
 * This style guide was developed by Monkey Exchange Team
 * MIT Licence
 ************************* */
.mecx-input {
  border: none;
  width: 100%;

  &::placeholder {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }

  &:disabled {
    pointer-events: none;
    color: var(--mecx-color-gray-400) !important;
    background: transparent;

    &::placeholder {
      color: var(--mecx-color-gray-400) !important;
    }
  }
}

input[type='date'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  position: relative;
}

input[type='date']::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
  opacity: 0;
}

.mecx-inputautocomplete-wrapper {
  padding: 4px;

  .mecx-autocomplete-loading {
    padding: 12px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--mecx-color-gray-600);
    font-size: 12px;
    letter-spacing: 0.54px;
    text-align: center;

    &-icon {
      svg {
        path {
          stroke: var(--mecx-color-gray-600);
        }
      }
    }
  }
}
