form {
  display: flex;
  flex-direction: column;
  gap: .5rem;

  .field_with_errors {
    display: contents;
    color: var(--error);

    input {
      border-color: var(--error);
      margin-bottom: 0;
    }
  }

  ul.form_errors {
    color: var(--error);
    margin: 0 0 1rem 0;

    li {
      list-style-type: none;
    }
  }

  label {
    font-weight: var(--bold);
  }

  input {
    margin-bottom: 1rem;
    font-size: 1rem;
    padding: 1rem;
    border: 3px solid var(--main-highlight);
  }

  input:focus {
    outline: none;
    box-shadow: 0 0 5px var(--yellow);
  }

  fieldset.time_from_to {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
}
