.ns-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  padding: 8px 16px !important;
}

.ns-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: #888;
}

.ns-input::placeholder {
  color: #888;
  opacity: 1;
}

.ns-input:focus,
.ns-input:hover,
.ns-input:active {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

.ns-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  color: #888 !important;
  cursor: pointer;
  line-height: 0;
  box-shadow: none !important;
  outline: none !important;
}

.ns-submit:hover,
.ns-submit:focus,
.ns-submit:focus-visible,
.ns-submit:active {
  color: #888 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}

.ns-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ns-message {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.ns-message.is-success {
  color: #c8e6c9;
}

.ns-message.is-error {
  color: #ffb4b4;
}

.ns-form .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .ns-input {
    height: 28px;
  }
}
