form {
  &.primary {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  &.box {
    max-width: 500px;
    margin: auto;
  }

  .row {
    width: 100%;
    display: flex;
    margin-bottom: 20px;

    .column {
      flex: 1;

      &:not(:last-child) {
        margin-right: 20px;
      }

      label {
        display: block;
        font-size: 14px;
        margin-bottom: 1px;
        color: var(--color-text-quaternary);

        &.error {
          color: var(--color-fg-error-secondary);
        }
      }
    }

    .notice {
      font-size: 13px;
      color: var(--color-text-warning-primary);
      margin-top: 2px;
    }
  }

  .actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
}

@media(max-width: 799px) {
  form {
    .row {
      flex-direction: column;
      gap: 20px;

      .column {
        &:not(:last-child) {
          margin-right: 0;
        }
      }
    }
  }
}
