.modal-inner {
  padding: 0 1rem 1rem 1rem;
  font-family: var(--font-atyp-text);

  label {
    font-weight: 500;
    color: var(--color-black);
  }

  input {
    margin-top: 0.25rem;
    border-radius: 0.625rem;
    box-shadow: 0 0 0 1px var(--color-silver);
    width: 100%;
    padding: 0.75rem 2.625rem 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-black);
  }

  .btn-save {
    margin-top: 1rem;
  }

  &.success {
    .message-text {
      color: var(--color-green);
    }
  }
  &.error {
    input:focus {
      box-shadow: inset 0 0 0 0.125rem var(--color-red);
    }
    .message-text {
      color: var(--color-red);
    }
  }
  &.warning {
    .message-text {
      color: var(--color-dark-red);
    }
  }
}

.message-text {
  font-family: var(--font-atyp-text);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.input-container {
  position: relative;
}

.reset {
  width: 1rem;
  height: 1rem;
  color: var(--color-darker-gray);
  position: absolute;
  right: 1rem;
  top: calc(50% - 0.5rem);
  cursor: pointer;
  visibility: hidden;

  &.show {
    visibility: visible;
  }
}
