@import "../../Shared/variables.scss";

.input-with-label {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;

  label {
    color: $gray-700;
    font-size: 14px;
    font-weight: 400;
  }

  p {
    font-size: 14px;
    color: $red-500;
  }

  &__wrapper {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    border-radius: 8px;
    border: 1px solid $gray-300;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);

    input {
      width: 100%;
      font-size: 18px;
      border: none;
    }

    ::placeholder {
      color: $gray-500;
      font-size: 16px;
      font-weight: 400;
    }

    button {
      min-width: 24px;
      width: 24;
      height: 24px;
    }
  }
}
